{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3846","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3846/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3846/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3846/events","html_url":"https://github.com/ManageIQ/manageiq/pull/3846","id":100650114,"number":3846,"title":"Manage chargeback rates","user":{"login":"imtayadeway","id":1710874,"avatar_url":"https://avatars.githubusercontent.com/u/1710874?v=3","gravatar_id":"","url":"https://api.github.com/users/imtayadeway","html_url":"https://github.com/imtayadeway","followers_url":"https://api.github.com/users/imtayadeway/followers","following_url":"https://api.github.com/users/imtayadeway/following{/other_user}","gists_url":"https://api.github.com/users/imtayadeway/gists{/gist_id}","starred_url":"https://api.github.com/users/imtayadeway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imtayadeway/subscriptions","organizations_url":"https://api.github.com/users/imtayadeway/orgs","repos_url":"https://api.github.com/users/imtayadeway/repos","events_url":"https://api.github.com/users/imtayadeway/events{/privacy}","received_events_url":"https://api.github.com/users/imtayadeway/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/api","name":"api","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-12T22:36:32Z","updated_at":"2015-08-20T02:53:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3846","html_url":"https://github.com/ManageIQ/manageiq/pull/3846","diff_url":"https://github.com/ManageIQ/manageiq/pull/3846.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3846.patch"},"body":"resolves https://bugzilla.redhat.com/show_bug.cgi?id=1069767\r\n\r\nNote: some of the functionality described in the above ticket should already be present. This PR expands the chargeback API to cover all the basic CRUD operations.\r\n\r\n/cc @abellotti I played around with a test for doing `PATCH`es for updates, but had no luck. I have a successful `POST` test with an `edit` action. Let me know if I need to add anything here to make this complete.\r\n\r\n@gtanzillo please review"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/132865318","html_url":"https://github.com/ManageIQ/manageiq/pull/3846#issuecomment-132865318","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3846","id":132865318,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T02:53:40Z","updated_at":"2015-08-20T02:53:40Z","body":"<rubocop />Checked commits https://github.com/imtayadeway/manageiq/commit/61d9f8f682b12b046d1be12ca152eb9c95917969 .. https://github.com/imtayadeway/manageiq/commit/802ef91489517d2bfa7b52c7e688ddbabba9b7d3 with rubocop 0.32.1 and haml-lint 0.13.0\n2 files checked, 2 offenses detected\n\n**spec/requests/api/chargebacks_spec.rb**\n- [ ] :large_orange_diamond: - [Line 112](https://github.com/imtayadeway/manageiq/blob/802ef91489517d2bfa7b52c7e688ddbabba9b7d3/spec/requests/api/chargebacks_spec.rb#L112), Col 12 - [Style/BlockDelimiters](http://rubydoc.info/gems/rubocop/0.32.1/RuboCop/Cop/Style/BlockDelimiters) - Avoid using `{...}` for multi-line blocks.\n- [ ] :large_orange_diamond: - [Line 123](https://github.com/imtayadeway/manageiq/blob/802ef91489517d2bfa7b52c7e688ddbabba9b7d3/spec/requests/api/chargebacks_spec.rb#L123), Col 12 - [Style/BlockDelimiters](http://rubydoc.info/gems/rubocop/0.32.1/RuboCop/Cop/Style/BlockDelimiters) - Avoid using `{...}` for multi-line blocks.\n"}}