{"action":"opened","issue":{"url":"https://api.github.com/repos/exactonline/exactonline-api-ruby-client/issues/10","labels_url":"https://api.github.com/repos/exactonline/exactonline-api-ruby-client/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/exactonline/exactonline-api-ruby-client/issues/10/comments","events_url":"https://api.github.com/repos/exactonline/exactonline-api-ruby-client/issues/10/events","html_url":"https://github.com/exactonline/exactonline-api-ruby-client/issues/10","id":119695061,"number":10,"title":"Class methods vs Instance methods","user":{"login":"Marthyn","id":642544,"avatar_url":"https://avatars.githubusercontent.com/u/642544?v=3","gravatar_id":"","url":"https://api.github.com/users/Marthyn","html_url":"https://github.com/Marthyn","followers_url":"https://api.github.com/users/Marthyn/followers","following_url":"https://api.github.com/users/Marthyn/following{/other_user}","gists_url":"https://api.github.com/users/Marthyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Marthyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marthyn/subscriptions","organizations_url":"https://api.github.com/users/Marthyn/orgs","repos_url":"https://api.github.com/users/Marthyn/repos","events_url":"https://api.github.com/users/Marthyn/events{/privacy}","received_events_url":"https://api.github.com/users/Marthyn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/exactonline/exactonline-api-ruby-client/labels/24PullRequests","name":"24PullRequests","color":"e11d21"},{"url":"https://api.github.com/repos/exactonline/exactonline-api-ruby-client/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T11:11:42Z","updated_at":"2015-12-01T11:11:42Z","closed_at":null,"body":"Currently you have to create an instance to do a find_all. Which is of course unnecessary. I did that so you can easily add filters too. But this could be refactored to make `SalesInvoice.find_all` or even `SalesInvoice.all` possible. Now you have to do `SalesInvoice.new.find_all`\r\n"}}