{"action":"created","comment":{"url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/comments/228724180","pull_request_review_id":169067758,"id":228724180,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODcyNDE4MA==","diff_hunk":"@@ -0,0 +1,48 @@\n+require_relative './test_helper'\n+\n+class TransactionTest < Minitest::Test\n+  def setup\n+    @time = Time.now\n+    @t = Transaction.new({\n+                        :id => 6,\n+                        :invoice_id => 8,\n+                        :credit_card_number => \"4242424242424242\",\n+                        :credit_card_expiration_date => \"0220\",\n+                        :result => \"success\",\n+                        :created_at => @time,\n+                        :updated_at => @time\n+                      })\n+  end\n+  \n+  def test_it_exists\n+    assert_instance_of Transaction, @t\n+  end\n+  \n+  def test_it_can_return_id\n+    assert_equal 6, @t.id\n+  end\n+  \n+  def test_it_can_return_invoice_id\n+    assert_equal 8, @t.invoice_id\n+  end\n+  ","path":"test/transaction_test.rb","position":28,"original_position":28,"commit_id":"c8ecd60a2c10740e4e4f44e61cd2888a95d03dad","original_commit_id":"c8ecd60a2c10740e4e4f44e61cd2888a95d03dad","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Layout/TrailingWhitespace: Trailing whitespace detected.","created_at":"2018-10-27T19:39:41Z","updated_at":"2018-10-27T19:39:42Z","html_url":"https://github.com/asmolentzov/black_thursday/pull/43#discussion_r228724180","pull_request_url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/comments/228724180"},"html":{"href":"https://github.com/asmolentzov/black_thursday/pull/43#discussion_r228724180"},"pull_request":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43","id":226318508,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MzE4NTA4","html_url":"https://github.com/asmolentzov/black_thursday/pull/43","diff_url":"https://github.com/asmolentzov/black_thursday/pull/43.diff","patch_url":"https://github.com/asmolentzov/black_thursday/pull/43.patch","issue_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues/43","number":43,"state":"open","locked":false,"title":"Transaction class","user":{"login":"asmolentzov","id":6686861,"node_id":"MDQ6VXNlcjY2ODY4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6686861?v=4","gravatar_id":"","url":"https://api.github.com/users/asmolentzov","html_url":"https://github.com/asmolentzov","followers_url":"https://api.github.com/users/asmolentzov/followers","following_url":"https://api.github.com/users/asmolentzov/following{/other_user}","gists_url":"https://api.github.com/users/asmolentzov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmolentzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmolentzov/subscriptions","organizations_url":"https://api.github.com/users/asmolentzov/orgs","repos_url":"https://api.github.com/users/asmolentzov/repos","events_url":"https://api.github.com/users/asmolentzov/events{/privacy}","received_events_url":"https://api.github.com/users/asmolentzov/received_events","type":"User","site_admin":false},"body":"Adds Transaction class and associated tests. \r\nPassing all tests. Not passing spec harness since haven't created TransactionRepository to tie it into SalesEngine yet. ","created_at":"2018-10-27T19:39:26Z","updated_at":"2018-10-27T19:39:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"674f77c904bdc78e97a21d56cf9b546f622b126b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Vjp888","id":40582072,"node_id":"MDQ6VXNlcjQwNTgyMDcy","avatar_url":"https://avatars2.githubusercontent.com/u/40582072?v=4","gravatar_id":"","url":"https://api.github.com/users/Vjp888","html_url":"https://github.com/Vjp888","followers_url":"https://api.github.com/users/Vjp888/followers","following_url":"https://api.github.com/users/Vjp888/following{/other_user}","gists_url":"https://api.github.com/users/Vjp888/gists{/gist_id}","starred_url":"https://api.github.com/users/Vjp888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vjp888/subscriptions","organizations_url":"https://api.github.com/users/Vjp888/orgs","repos_url":"https://api.github.com/users/Vjp888/repos","events_url":"https://api.github.com/users/Vjp888/events{/privacy}","received_events_url":"https://api.github.com/users/Vjp888/received_events","type":"User","site_admin":false},{"login":"nicovigil1","id":43397150,"node_id":"MDQ6VXNlcjQzMzk3MTUw","avatar_url":"https://avatars0.githubusercontent.com/u/43397150?v=4","gravatar_id":"","url":"https://api.github.com/users/nicovigil1","html_url":"https://github.com/nicovigil1","followers_url":"https://api.github.com/users/nicovigil1/followers","following_url":"https://api.github.com/users/nicovigil1/following{/other_user}","gists_url":"https://api.github.com/users/nicovigil1/gists{/gist_id}","starred_url":"https://api.github.com/users/nicovigil1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicovigil1/subscriptions","organizations_url":"https://api.github.com/users/nicovigil1/orgs","repos_url":"https://api.github.com/users/nicovigil1/repos","events_url":"https://api.github.com/users/nicovigil1/events{/privacy}","received_events_url":"https://api.github.com/users/nicovigil1/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1100262651,"node_id":"MDU6TGFiZWwxMTAwMjYyNjUx","url":"https://api.github.com/repos/asmolentzov/black_thursday/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43/commits","review_comments_url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43/comments","review_comment_url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues/43/comments","statuses_url":"https://api.github.com/repos/asmolentzov/black_thursday/statuses/c8ecd60a2c10740e4e4f44e61cd2888a95d03dad","head":{"label":"asmolentzov:transaction-class","ref":"transaction-class","sha":"c8ecd60a2c10740e4e4f44e61cd2888a95d03dad","user":{"login":"asmolentzov","id":6686861,"node_id":"MDQ6VXNlcjY2ODY4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6686861?v=4","gravatar_id":"","url":"https://api.github.com/users/asmolentzov","html_url":"https://github.com/asmolentzov","followers_url":"https://api.github.com/users/asmolentzov/followers","following_url":"https://api.github.com/users/asmolentzov/following{/other_user}","gists_url":"https://api.github.com/users/asmolentzov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmolentzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmolentzov/subscriptions","organizations_url":"https://api.github.com/users/asmolentzov/orgs","repos_url":"https://api.github.com/users/asmolentzov/repos","events_url":"https://api.github.com/users/asmolentzov/events{/privacy}","received_events_url":"https://api.github.com/users/asmolentzov/received_events","type":"User","site_admin":false},"repo":{"id":154176028,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQxNzYwMjg=","name":"black_thursday","full_name":"asmolentzov/black_thursday","private":false,"owner":{"login":"asmolentzov","id":6686861,"node_id":"MDQ6VXNlcjY2ODY4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6686861?v=4","gravatar_id":"","url":"https://api.github.com/users/asmolentzov","html_url":"https://github.com/asmolentzov","followers_url":"https://api.github.com/users/asmolentzov/followers","following_url":"https://api.github.com/users/asmolentzov/following{/other_user}","gists_url":"https://api.github.com/users/asmolentzov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmolentzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmolentzov/subscriptions","organizations_url":"https://api.github.com/users/asmolentzov/orgs","repos_url":"https://api.github.com/users/asmolentzov/repos","events_url":"https://api.github.com/users/asmolentzov/events{/privacy}","received_events_url":"https://api.github.com/users/asmolentzov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/asmolentzov/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/asmolentzov/black_thursday","forks_url":"https://api.github.com/repos/asmolentzov/black_thursday/forks","keys_url":"https://api.github.com/repos/asmolentzov/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asmolentzov/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asmolentzov/black_thursday/teams","hooks_url":"https://api.github.com/repos/asmolentzov/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/asmolentzov/black_thursday/events","assignees_url":"https://api.github.com/repos/asmolentzov/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/asmolentzov/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/asmolentzov/black_thursday/tags","blobs_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asmolentzov/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/asmolentzov/black_thursday/languages","stargazers_url":"https://api.github.com/repos/asmolentzov/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/asmolentzov/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/asmolentzov/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/asmolentzov/black_thursday/subscription","commits_url":"https://api.github.com/repos/asmolentzov/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/asmolentzov/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/asmolentzov/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/asmolentzov/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asmolentzov/black_thursday/merges","archive_url":"https://api.github.com/repos/asmolentzov/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asmolentzov/black_thursday/downloads","issues_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/asmolentzov/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/asmolentzov/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asmolentzov/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/asmolentzov/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/asmolentzov/black_thursday/deployments","created_at":"2018-10-22T16:19:35Z","updated_at":"2018-10-27T18:43:11Z","pushed_at":"2018-10-27T19:39:26Z","git_url":"git://github.com/asmolentzov/black_thursday.git","ssh_url":"git@github.com:asmolentzov/black_thursday.git","clone_url":"https://github.com/asmolentzov/black_thursday.git","svn_url":"https://github.com/asmolentzov/black_thursday","homepage":null,"size":1746,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"asmolentzov:master","ref":"master","sha":"b24e056f416d0a2fd79052835138f9ff4ef26d19","user":{"login":"asmolentzov","id":6686861,"node_id":"MDQ6VXNlcjY2ODY4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6686861?v=4","gravatar_id":"","url":"https://api.github.com/users/asmolentzov","html_url":"https://github.com/asmolentzov","followers_url":"https://api.github.com/users/asmolentzov/followers","following_url":"https://api.github.com/users/asmolentzov/following{/other_user}","gists_url":"https://api.github.com/users/asmolentzov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmolentzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmolentzov/subscriptions","organizations_url":"https://api.github.com/users/asmolentzov/orgs","repos_url":"https://api.github.com/users/asmolentzov/repos","events_url":"https://api.github.com/users/asmolentzov/events{/privacy}","received_events_url":"https://api.github.com/users/asmolentzov/received_events","type":"User","site_admin":false},"repo":{"id":154176028,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQxNzYwMjg=","name":"black_thursday","full_name":"asmolentzov/black_thursday","private":false,"owner":{"login":"asmolentzov","id":6686861,"node_id":"MDQ6VXNlcjY2ODY4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6686861?v=4","gravatar_id":"","url":"https://api.github.com/users/asmolentzov","html_url":"https://github.com/asmolentzov","followers_url":"https://api.github.com/users/asmolentzov/followers","following_url":"https://api.github.com/users/asmolentzov/following{/other_user}","gists_url":"https://api.github.com/users/asmolentzov/gists{/gist_id}","starred_url":"https://api.github.com/users/asmolentzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmolentzov/subscriptions","organizations_url":"https://api.github.com/users/asmolentzov/orgs","repos_url":"https://api.github.com/users/asmolentzov/repos","events_url":"https://api.github.com/users/asmolentzov/events{/privacy}","received_events_url":"https://api.github.com/users/asmolentzov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/asmolentzov/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/asmolentzov/black_thursday","forks_url":"https://api.github.com/repos/asmolentzov/black_thursday/forks","keys_url":"https://api.github.com/repos/asmolentzov/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asmolentzov/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asmolentzov/black_thursday/teams","hooks_url":"https://api.github.com/repos/asmolentzov/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/asmolentzov/black_thursday/events","assignees_url":"https://api.github.com/repos/asmolentzov/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/asmolentzov/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/asmolentzov/black_thursday/tags","blobs_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asmolentzov/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/asmolentzov/black_thursday/languages","stargazers_url":"https://api.github.com/repos/asmolentzov/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/asmolentzov/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/asmolentzov/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/asmolentzov/black_thursday/subscription","commits_url":"https://api.github.com/repos/asmolentzov/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/asmolentzov/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/asmolentzov/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/asmolentzov/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/asmolentzov/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asmolentzov/black_thursday/merges","archive_url":"https://api.github.com/repos/asmolentzov/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asmolentzov/black_thursday/downloads","issues_url":"https://api.github.com/repos/asmolentzov/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/asmolentzov/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/asmolentzov/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/asmolentzov/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asmolentzov/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/asmolentzov/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/asmolentzov/black_thursday/deployments","created_at":"2018-10-22T16:19:35Z","updated_at":"2018-10-27T18:43:11Z","pushed_at":"2018-10-27T19:39:26Z","git_url":"git://github.com/asmolentzov/black_thursday.git","ssh_url":"git@github.com:asmolentzov/black_thursday.git","clone_url":"https://github.com/asmolentzov/black_thursday.git","svn_url":"https://github.com/asmolentzov/black_thursday","homepage":null,"size":1746,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43"},"html":{"href":"https://github.com/asmolentzov/black_thursday/pull/43"},"issue":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/issues/43"},"comments":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/asmolentzov/black_thursday/statuses/c8ecd60a2c10740e4e4f44e61cd2888a95d03dad"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}