{"action":"created","issue":{"url":"https://api.github.com/repos/sportngin/active_zuora/issues/41","labels_url":"https://api.github.com/repos/sportngin/active_zuora/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/sportngin/active_zuora/issues/41/comments","events_url":"https://api.github.com/repos/sportngin/active_zuora/issues/41/events","html_url":"https://github.com/sportngin/active_zuora/pull/41","id":56879655,"number":41,"title":"Remove body from invoices","user":{"login":"IamDavidovich","id":1845397,"avatar_url":"https://avatars.githubusercontent.com/u/1845397?v=3","gravatar_id":"","url":"https://api.github.com/users/IamDavidovich","html_url":"https://github.com/IamDavidovich","followers_url":"https://api.github.com/users/IamDavidovich/followers","following_url":"https://api.github.com/users/IamDavidovich/following{/other_user}","gists_url":"https://api.github.com/users/IamDavidovich/gists{/gist_id}","starred_url":"https://api.github.com/users/IamDavidovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamDavidovich/subscriptions","organizations_url":"https://api.github.com/users/IamDavidovich/orgs","repos_url":"https://api.github.com/users/IamDavidovich/repos","events_url":"https://api.github.com/users/IamDavidovich/events{/privacy}","received_events_url":"https://api.github.com/users/IamDavidovich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T22:54:25Z","updated_at":"2015-02-07T14:46:17Z","closed_at":"2015-02-07T14:46:17Z","pull_request":{"url":"https://api.github.com/repos/sportngin/active_zuora/pulls/41","html_url":"https://github.com/sportngin/active_zuora/pull/41","diff_url":"https://github.com/sportngin/active_zuora/pull/41.diff","patch_url":"https://github.com/sportngin/active_zuora/pull/41.patch"},"body":"The Zuora API only allows fetching the body field on a single invoice at a time\r\nwhich breaks fetching collections of invoices.\r\n\r\nThis removes the body field from regular queries, allowing collections to be\r\nfetched without errors. In order to allow the PDF of the invoice (which is\r\nnormally stored in the body) to be accessed without having to write a specific\r\nquery, this also adds a `pdf` method to invoices."},"comment":{"url":"https://api.github.com/repos/sportngin/active_zuora/issues/comments/73366976","html_url":"https://github.com/sportngin/active_zuora/pull/41#issuecomment-73366976","issue_url":"https://api.github.com/repos/sportngin/active_zuora/issues/41","id":73366976,"user":{"login":"IamDavidovich","id":1845397,"avatar_url":"https://avatars.githubusercontent.com/u/1845397?v=3","gravatar_id":"","url":"https://api.github.com/users/IamDavidovich","html_url":"https://github.com/IamDavidovich","followers_url":"https://api.github.com/users/IamDavidovich/followers","following_url":"https://api.github.com/users/IamDavidovich/following{/other_user}","gists_url":"https://api.github.com/users/IamDavidovich/gists{/gist_id}","starred_url":"https://api.github.com/users/IamDavidovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamDavidovich/subscriptions","organizations_url":"https://api.github.com/users/IamDavidovich/orgs","repos_url":"https://api.github.com/users/IamDavidovich/repos","events_url":"https://api.github.com/users/IamDavidovich/events{/privacy}","received_events_url":"https://api.github.com/users/IamDavidovich/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T14:46:17Z","updated_at":"2015-02-07T14:46:17Z","body":"That looks much better. I was aiming towards something like this but hadn't figured out the `clear_changed_attributes` thing. Thanks!"}}