{"action":"created","issue":{"url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/issues/2","labels_url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/issues/2/comments","events_url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/issues/2/events","html_url":"https://github.com/synapsepay/SynapsePayRest-Ruby/pull/2","id":112115029,"number":2,"title":"Reformatted, Refactored to Ruby idioms","user":{"login":"hosh","id":966,"avatar_url":"https://avatars.githubusercontent.com/u/966?v=3","gravatar_id":"","url":"https://api.github.com/users/hosh","html_url":"https://github.com/hosh","followers_url":"https://api.github.com/users/hosh/followers","following_url":"https://api.github.com/users/hosh/following{/other_user}","gists_url":"https://api.github.com/users/hosh/gists{/gist_id}","starred_url":"https://api.github.com/users/hosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hosh/subscriptions","organizations_url":"https://api.github.com/users/hosh/orgs","repos_url":"https://api.github.com/users/hosh/repos","events_url":"https://api.github.com/users/hosh/events{/privacy}","received_events_url":"https://api.github.com/users/hosh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-19T10:13:26Z","updated_at":"2015-10-23T17:08:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/pulls/2","html_url":"https://github.com/synapsepay/SynapsePayRest-Ruby/pull/2","diff_url":"https://github.com/synapsepay/SynapsePayRest-Ruby/pull/2.diff","patch_url":"https://github.com/synapsepay/SynapsePayRest-Ruby/pull/2.patch"},"body":"1. Two space soft-tabs\r\n2. Use `Autoload`\r\n3. Name files using community conventions\r\n4. Refactored all the code so they are easier to read\r\n\r\nThere can be still much improvements. For example, the current code does not use `RestClient` params builder, and instead tries to roll it's own. There are a lot of things that could just be streamlined better.\r\n\r\nThis code is not tested. I'll be doing that when I use this fork's code in my own Rails app. The code should have it's own unit tests though."},"comment":{"url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/issues/comments/150635326","html_url":"https://github.com/synapsepay/SynapsePayRest-Ruby/pull/2#issuecomment-150635326","issue_url":"https://api.github.com/repos/synapsepay/SynapsePayRest-Ruby/issues/2","id":150635326,"user":{"login":"javierjulio","id":198547,"avatar_url":"https://avatars.githubusercontent.com/u/198547?v=3","gravatar_id":"","url":"https://api.github.com/users/javierjulio","html_url":"https://github.com/javierjulio","followers_url":"https://api.github.com/users/javierjulio/followers","following_url":"https://api.github.com/users/javierjulio/following{/other_user}","gists_url":"https://api.github.com/users/javierjulio/gists{/gist_id}","starred_url":"https://api.github.com/users/javierjulio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierjulio/subscriptions","organizations_url":"https://api.github.com/users/javierjulio/orgs","repos_url":"https://api.github.com/users/javierjulio/repos","events_url":"https://api.github.com/users/javierjulio/events{/privacy}","received_events_url":"https://api.github.com/users/javierjulio/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T17:08:04Z","updated_at":"2015-10-23T17:08:04Z","body":"@milesmatthias regarding num 2: those required parameter changes were in the original. Support for Ruby 1.9.3 has long been over. As this is a new lib for a new API version I say keep this current with Ruby 2.x+. It seems like it was created by the @synapsepay team for Ruby 2.x anyway."}}