{"action":"created","comment":{"url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/comments/42312179","id":42312179,"diff_hunk":"@@ -0,0 +1,44 @@\n+#!/usr/bin/env ruby\n+\n+# Cash Register\n+class CashRegister2\n+  def initialize\n+    cash","path":"objects/cash_register_2.rb","position":6,"original_position":6,"commit_id":"cf32dd9ec6e4e01067044dd9b1aa0a75303abb33","original_commit_id":"cf32dd9ec6e4e01067044dd9b1aa0a75303abb33","user":{"login":"jasonnoble","id":22501,"avatar_url":"https://avatars.githubusercontent.com/u/22501?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonnoble","html_url":"https://github.com/jasonnoble","followers_url":"https://api.github.com/users/jasonnoble/followers","following_url":"https://api.github.com/users/jasonnoble/following{/other_user}","gists_url":"https://api.github.com/users/jasonnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonnoble/subscriptions","organizations_url":"https://api.github.com/users/jasonnoble/orgs","repos_url":"https://api.github.com/users/jasonnoble/repos","events_url":"https://api.github.com/users/jasonnoble/events{/privacy}","received_events_url":"https://api.github.com/users/jasonnoble/received_events","type":"User","site_admin":false},"body":"You don't call `cash` anywhere else, so please remove the `cash` method and move the `@total = 0.00` into the `initialize` method.","created_at":"2015-10-17T18:05:09Z","updated_at":"2015-10-17T18:05:09Z","html_url":"https://github.com/Serg09/learning_by_doing/pull/12#discussion_r42312179","pull_request_url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/comments/42312179"},"html":{"href":"https://github.com/Serg09/learning_by_doing/pull/12#discussion_r42312179"},"pull_request":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12","id":47622264,"html_url":"https://github.com/Serg09/learning_by_doing/pull/12","diff_url":"https://github.com/Serg09/learning_by_doing/pull/12.diff","patch_url":"https://github.com/Serg09/learning_by_doing/pull/12.patch","issue_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues/12","number":12,"state":"open","locked":false,"title":"Objects home_work_2","user":{"login":"Serg09","id":13663249,"avatar_url":"https://avatars.githubusercontent.com/u/13663249?v=3","gravatar_id":"","url":"https://api.github.com/users/Serg09","html_url":"https://github.com/Serg09","followers_url":"https://api.github.com/users/Serg09/followers","following_url":"https://api.github.com/users/Serg09/following{/other_user}","gists_url":"https://api.github.com/users/Serg09/gists{/gist_id}","starred_url":"https://api.github.com/users/Serg09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Serg09/subscriptions","organizations_url":"https://api.github.com/users/Serg09/orgs","repos_url":"https://api.github.com/users/Serg09/repos","events_url":"https://api.github.com/users/Serg09/events{/privacy}","received_events_url":"https://api.github.com/users/Serg09/received_events","type":"User","site_admin":false},"body":"[#105635802]","created_at":"2015-10-14T06:30:37Z","updated_at":"2015-10-17T18:05:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73514e5aeead070f54cbd359dec2a322c26bf8d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues/12/comments","statuses_url":"https://api.github.com/repos/Serg09/learning_by_doing/statuses/cf32dd9ec6e4e01067044dd9b1aa0a75303abb33","head":{"label":"Serg09:105635802_objects_2_master","ref":"105635802_objects_2_master","sha":"cf32dd9ec6e4e01067044dd9b1aa0a75303abb33","user":{"login":"Serg09","id":13663249,"avatar_url":"https://avatars.githubusercontent.com/u/13663249?v=3","gravatar_id":"","url":"https://api.github.com/users/Serg09","html_url":"https://github.com/Serg09","followers_url":"https://api.github.com/users/Serg09/followers","following_url":"https://api.github.com/users/Serg09/following{/other_user}","gists_url":"https://api.github.com/users/Serg09/gists{/gist_id}","starred_url":"https://api.github.com/users/Serg09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Serg09/subscriptions","organizations_url":"https://api.github.com/users/Serg09/orgs","repos_url":"https://api.github.com/users/Serg09/repos","events_url":"https://api.github.com/users/Serg09/events{/privacy}","received_events_url":"https://api.github.com/users/Serg09/received_events","type":"User","site_admin":false},"repo":{"id":43415059,"name":"learning_by_doing","full_name":"Serg09/learning_by_doing","owner":{"login":"Serg09","id":13663249,"avatar_url":"https://avatars.githubusercontent.com/u/13663249?v=3","gravatar_id":"","url":"https://api.github.com/users/Serg09","html_url":"https://github.com/Serg09","followers_url":"https://api.github.com/users/Serg09/followers","following_url":"https://api.github.com/users/Serg09/following{/other_user}","gists_url":"https://api.github.com/users/Serg09/gists{/gist_id}","starred_url":"https://api.github.com/users/Serg09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Serg09/subscriptions","organizations_url":"https://api.github.com/users/Serg09/orgs","repos_url":"https://api.github.com/users/Serg09/repos","events_url":"https://api.github.com/users/Serg09/events{/privacy}","received_events_url":"https://api.github.com/users/Serg09/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Serg09/learning_by_doing","description":"Adding tests to your homework","fork":false,"url":"https://api.github.com/repos/Serg09/learning_by_doing","forks_url":"https://api.github.com/repos/Serg09/learning_by_doing/forks","keys_url":"https://api.github.com/repos/Serg09/learning_by_doing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Serg09/learning_by_doing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Serg09/learning_by_doing/teams","hooks_url":"https://api.github.com/repos/Serg09/learning_by_doing/hooks","issue_events_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues/events{/number}","events_url":"https://api.github.com/repos/Serg09/learning_by_doing/events","assignees_url":"https://api.github.com/repos/Serg09/learning_by_doing/assignees{/user}","branches_url":"https://api.github.com/repos/Serg09/learning_by_doing/branches{/branch}","tags_url":"https://api.github.com/repos/Serg09/learning_by_doing/tags","blobs_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/refs{/sha}","trees_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Serg09/learning_by_doing/statuses/{sha}","languages_url":"https://api.github.com/repos/Serg09/learning_by_doing/languages","stargazers_url":"https://api.github.com/repos/Serg09/learning_by_doing/stargazers","contributors_url":"https://api.github.com/repos/Serg09/learning_by_doing/contributors","subscribers_url":"https://api.github.com/repos/Serg09/learning_by_doing/subscribers","subscription_url":"https://api.github.com/repos/Serg09/learning_by_doing/subscription","commits_url":"https://api.github.com/repos/Serg09/learning_by_doing/commits{/sha}","git_commits_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/commits{/sha}","comments_url":"https://api.github.com/repos/Serg09/learning_by_doing/comments{/number}","issue_comment_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues/comments{/number}","contents_url":"https://api.github.com/repos/Serg09/learning_by_doing/contents/{+path}","compare_url":"https://api.github.com/repos/Serg09/learning_by_doing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Serg09/learning_by_doing/merges","archive_url":"https://api.github.com/repos/Serg09/learning_by_doing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Serg09/learning_by_doing/downloads","issues_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues{/number}","pulls_url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls{/number}","milestones_url":"https://api.github.com/repos/Serg09/learning_by_doing/milestones{/number}","notifications_url":"https://api.github.com/repos/Serg09/learning_by_doing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Serg09/learning_by_doing/labels{/name}","releases_url":"https://api.github.com/repos/Serg09/learning_by_doing/releases{/id}","created_at":"2015-09-30T06:05:56Z","updated_at":"2015-10-17T04:44:34Z","pushed_at":"2015-10-17T17:11:38Z","git_url":"git://github.com/Serg09/learning_by_doing.git","ssh_url":"git@github.com:Serg09/learning_by_doing.git","clone_url":"https://github.com/Serg09/learning_by_doing.git","svn_url":"https://github.com/Serg09/learning_by_doing","homepage":null,"size":336,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Serg09:master","ref":"master","sha":"f492e2969d6895d273dbf0c10333e74d16769512","user":{"login":"Serg09","id":13663249,"avatar_url":"https://avatars.githubusercontent.com/u/13663249?v=3","gravatar_id":"","url":"https://api.github.com/users/Serg09","html_url":"https://github.com/Serg09","followers_url":"https://api.github.com/users/Serg09/followers","following_url":"https://api.github.com/users/Serg09/following{/other_user}","gists_url":"https://api.github.com/users/Serg09/gists{/gist_id}","starred_url":"https://api.github.com/users/Serg09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Serg09/subscriptions","organizations_url":"https://api.github.com/users/Serg09/orgs","repos_url":"https://api.github.com/users/Serg09/repos","events_url":"https://api.github.com/users/Serg09/events{/privacy}","received_events_url":"https://api.github.com/users/Serg09/received_events","type":"User","site_admin":false},"repo":{"id":43415059,"name":"learning_by_doing","full_name":"Serg09/learning_by_doing","owner":{"login":"Serg09","id":13663249,"avatar_url":"https://avatars.githubusercontent.com/u/13663249?v=3","gravatar_id":"","url":"https://api.github.com/users/Serg09","html_url":"https://github.com/Serg09","followers_url":"https://api.github.com/users/Serg09/followers","following_url":"https://api.github.com/users/Serg09/following{/other_user}","gists_url":"https://api.github.com/users/Serg09/gists{/gist_id}","starred_url":"https://api.github.com/users/Serg09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Serg09/subscriptions","organizations_url":"https://api.github.com/users/Serg09/orgs","repos_url":"https://api.github.com/users/Serg09/repos","events_url":"https://api.github.com/users/Serg09/events{/privacy}","received_events_url":"https://api.github.com/users/Serg09/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Serg09/learning_by_doing","description":"Adding tests to your homework","fork":false,"url":"https://api.github.com/repos/Serg09/learning_by_doing","forks_url":"https://api.github.com/repos/Serg09/learning_by_doing/forks","keys_url":"https://api.github.com/repos/Serg09/learning_by_doing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Serg09/learning_by_doing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Serg09/learning_by_doing/teams","hooks_url":"https://api.github.com/repos/Serg09/learning_by_doing/hooks","issue_events_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues/events{/number}","events_url":"https://api.github.com/repos/Serg09/learning_by_doing/events","assignees_url":"https://api.github.com/repos/Serg09/learning_by_doing/assignees{/user}","branches_url":"https://api.github.com/repos/Serg09/learning_by_doing/branches{/branch}","tags_url":"https://api.github.com/repos/Serg09/learning_by_doing/tags","blobs_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/refs{/sha}","trees_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Serg09/learning_by_doing/statuses/{sha}","languages_url":"https://api.github.com/repos/Serg09/learning_by_doing/languages","stargazers_url":"https://api.github.com/repos/Serg09/learning_by_doing/stargazers","contributors_url":"https://api.github.com/repos/Serg09/learning_by_doing/contributors","subscribers_url":"https://api.github.com/repos/Serg09/learning_by_doing/subscribers","subscription_url":"https://api.github.com/repos/Serg09/learning_by_doing/subscription","commits_url":"https://api.github.com/repos/Serg09/learning_by_doing/commits{/sha}","git_commits_url":"https://api.github.com/repos/Serg09/learning_by_doing/git/commits{/sha}","comments_url":"https://api.github.com/repos/Serg09/learning_by_doing/comments{/number}","issue_comment_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues/comments{/number}","contents_url":"https://api.github.com/repos/Serg09/learning_by_doing/contents/{+path}","compare_url":"https://api.github.com/repos/Serg09/learning_by_doing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Serg09/learning_by_doing/merges","archive_url":"https://api.github.com/repos/Serg09/learning_by_doing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Serg09/learning_by_doing/downloads","issues_url":"https://api.github.com/repos/Serg09/learning_by_doing/issues{/number}","pulls_url":"https://api.github.com/repos/Serg09/learning_by_doing/pulls{/number}","milestones_url":"https://api.github.com/repos/Serg09/learning_by_doing/milestones{/number}","notifications_url":"https://api.github.com/repos/Serg09/learning_by_doing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Serg09/learning_by_doing/labels{/name}","releases_url":"https://api.github.com/repos/Serg09/learning_by_doing/releases{/id}","created_at":"2015-09-30T06:05:56Z","updated_at":"2015-10-17T04:44:34Z","pushed_at":"2015-10-17T17:11:38Z","git_url":"git://github.com/Serg09/learning_by_doing.git","ssh_url":"git@github.com:Serg09/learning_by_doing.git","clone_url":"https://github.com/Serg09/learning_by_doing.git","svn_url":"https://github.com/Serg09/learning_by_doing","homepage":null,"size":336,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12"},"html":{"href":"https://github.com/Serg09/learning_by_doing/pull/12"},"issue":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/issues/12"},"comments":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Serg09/learning_by_doing/statuses/cf32dd9ec6e4e01067044dd9b1aa0a75303abb33"}}}}