{"action":"created","comment":{"url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments/33197464","id":33197464,"diff_hunk":"@@ -9,14 +9,14 @@ class Transaction\n               :repository\n \n   def initialize(data, repository)\n-    @id = data[:id].to_i\n-    @invoice_id = data[:invoice_id].to_i\n-    @credit_card_number = data[:credit_card_number]\n+    @id                          = data[:id].to_i\n+    @invoice_id                  = data[:invoice_id].to_i\n+    @credit_card_number          = data[:credit_card_number]\n     @credit_card_expiration_date = data[:credit_card_expiration_date]\n-    @result = data[:result]\n-    @created_at = data[:created_at]\n-    @updated_at = data[:updated_at]\n-    @repository = repository\n+    @result                      = data[:result]\n+    @created_at                  = data[:created_at]","path":"lib/transaction.rb","position":16,"original_position":16,"commit_id":"f93553b5e47f3dd461e397a9ede422e45d6dae68","original_commit_id":"f93553b5e47f3dd461e397a9ede422e45d6dae68","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Unnecessary spacing detected.","created_at":"2015-06-24T21:15:26Z","updated_at":"2015-06-24T21:15:26Z","html_url":"https://github.com/marlabrizel/sales_engine/pull/59#discussion_r33197464","pull_request_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments/33197464"},"html":{"href":"https://github.com/marlabrizel/sales_engine/pull/59#discussion_r33197464"},"pull_request":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59","id":38488456,"html_url":"https://github.com/marlabrizel/sales_engine/pull/59","diff_url":"https://github.com/marlabrizel/sales_engine/pull/59.diff","patch_url":"https://github.com/marlabrizel/sales_engine/pull/59.patch","issue_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/59","number":59,"state":"open","locked":false,"title":"Refactor lib","user":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"body":"All of the refactoring: clean up blocks, fix spacing, fix rake complaints, yay","created_at":"2015-06-24T21:15:18Z","updated_at":"2015-06-24T21:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c1f454b8aeb40717cf3bcf99fd53ab72b67813f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59/commits","review_comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59/comments","review_comment_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/59/comments","statuses_url":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/f93553b5e47f3dd461e397a9ede422e45d6dae68","head":{"label":"marlabrizel:refactor-lib","ref":"refactor-lib","sha":"f93553b5e47f3dd461e397a9ede422e45d6dae68","user":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"repo":{"id":37489691,"name":"sales_engine","full_name":"marlabrizel/sales_engine","owner":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marlabrizel/sales_engine","description":"","fork":false,"url":"https://api.github.com/repos/marlabrizel/sales_engine","forks_url":"https://api.github.com/repos/marlabrizel/sales_engine/forks","keys_url":"https://api.github.com/repos/marlabrizel/sales_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marlabrizel/sales_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marlabrizel/sales_engine/teams","hooks_url":"https://api.github.com/repos/marlabrizel/sales_engine/hooks","issue_events_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/events{/number}","events_url":"https://api.github.com/repos/marlabrizel/sales_engine/events","assignees_url":"https://api.github.com/repos/marlabrizel/sales_engine/assignees{/user}","branches_url":"https://api.github.com/repos/marlabrizel/sales_engine/branches{/branch}","tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/tags","blobs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/marlabrizel/sales_engine/languages","stargazers_url":"https://api.github.com/repos/marlabrizel/sales_engine/stargazers","contributors_url":"https://api.github.com/repos/marlabrizel/sales_engine/contributors","subscribers_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscribers","subscription_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscription","commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/marlabrizel/sales_engine/contents/{+path}","compare_url":"https://api.github.com/repos/marlabrizel/sales_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marlabrizel/sales_engine/merges","archive_url":"https://api.github.com/repos/marlabrizel/sales_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marlabrizel/sales_engine/downloads","issues_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues{/number}","pulls_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/marlabrizel/sales_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/marlabrizel/sales_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marlabrizel/sales_engine/labels{/name}","releases_url":"https://api.github.com/repos/marlabrizel/sales_engine/releases{/id}","created_at":"2015-06-15T20:31:30Z","updated_at":"2015-06-23T22:39:48Z","pushed_at":"2015-06-24T21:15:18Z","git_url":"git://github.com/marlabrizel/sales_engine.git","ssh_url":"git@github.com:marlabrizel/sales_engine.git","clone_url":"https://github.com/marlabrizel/sales_engine.git","svn_url":"https://github.com/marlabrizel/sales_engine","homepage":null,"size":1487,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"marlabrizel:master","ref":"master","sha":"703100bfee4bd9240b75c3d4b8dbd70cec955f1b","user":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"repo":{"id":37489691,"name":"sales_engine","full_name":"marlabrizel/sales_engine","owner":{"login":"marlabrizel","id":6632025,"avatar_url":"https://avatars.githubusercontent.com/u/6632025?v=3","gravatar_id":"","url":"https://api.github.com/users/marlabrizel","html_url":"https://github.com/marlabrizel","followers_url":"https://api.github.com/users/marlabrizel/followers","following_url":"https://api.github.com/users/marlabrizel/following{/other_user}","gists_url":"https://api.github.com/users/marlabrizel/gists{/gist_id}","starred_url":"https://api.github.com/users/marlabrizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marlabrizel/subscriptions","organizations_url":"https://api.github.com/users/marlabrizel/orgs","repos_url":"https://api.github.com/users/marlabrizel/repos","events_url":"https://api.github.com/users/marlabrizel/events{/privacy}","received_events_url":"https://api.github.com/users/marlabrizel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marlabrizel/sales_engine","description":"","fork":false,"url":"https://api.github.com/repos/marlabrizel/sales_engine","forks_url":"https://api.github.com/repos/marlabrizel/sales_engine/forks","keys_url":"https://api.github.com/repos/marlabrizel/sales_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marlabrizel/sales_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marlabrizel/sales_engine/teams","hooks_url":"https://api.github.com/repos/marlabrizel/sales_engine/hooks","issue_events_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/events{/number}","events_url":"https://api.github.com/repos/marlabrizel/sales_engine/events","assignees_url":"https://api.github.com/repos/marlabrizel/sales_engine/assignees{/user}","branches_url":"https://api.github.com/repos/marlabrizel/sales_engine/branches{/branch}","tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/tags","blobs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/marlabrizel/sales_engine/languages","stargazers_url":"https://api.github.com/repos/marlabrizel/sales_engine/stargazers","contributors_url":"https://api.github.com/repos/marlabrizel/sales_engine/contributors","subscribers_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscribers","subscription_url":"https://api.github.com/repos/marlabrizel/sales_engine/subscription","commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/marlabrizel/sales_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/marlabrizel/sales_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/marlabrizel/sales_engine/contents/{+path}","compare_url":"https://api.github.com/repos/marlabrizel/sales_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marlabrizel/sales_engine/merges","archive_url":"https://api.github.com/repos/marlabrizel/sales_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marlabrizel/sales_engine/downloads","issues_url":"https://api.github.com/repos/marlabrizel/sales_engine/issues{/number}","pulls_url":"https://api.github.com/repos/marlabrizel/sales_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/marlabrizel/sales_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/marlabrizel/sales_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marlabrizel/sales_engine/labels{/name}","releases_url":"https://api.github.com/repos/marlabrizel/sales_engine/releases{/id}","created_at":"2015-06-15T20:31:30Z","updated_at":"2015-06-23T22:39:48Z","pushed_at":"2015-06-24T21:15:18Z","git_url":"git://github.com/marlabrizel/sales_engine.git","ssh_url":"git@github.com:marlabrizel/sales_engine.git","clone_url":"https://github.com/marlabrizel/sales_engine.git","svn_url":"https://github.com/marlabrizel/sales_engine","homepage":null,"size":1487,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59"},"html":{"href":"https://github.com/marlabrizel/sales_engine/pull/59"},"issue":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/issues/59"},"comments":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/marlabrizel/sales_engine/statuses/f93553b5e47f3dd461e397a9ede422e45d6dae68"}}}}