{"action":"created","comment":{"url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/comments/35659147","id":35659147,"diff_hunk":"@@ -44,4 +50,17 @@ public function clearTotal()\n \n         return $this->total;\n     }\n+\n+    /**\n+     * 売上金額を加算する\n+     *\n+     * @param integer $amount 売上金額\n+     *\n+     * @return integer\n+     */\n+    public function salesProceeds($amount)","path":"src/app/MoneyBox.php","position":25,"original_position":25,"commit_id":"d8459c6f7324aaaa5394d33213e77bd5dde19559","original_commit_id":"d8459c6f7324aaaa5394d33213e77bd5dde19559","user":{"login":"sakumashunsuke","id":8132587,"avatar_url":"https://avatars.githubusercontent.com/u/8132587?v=3","gravatar_id":"","url":"https://api.github.com/users/sakumashunsuke","html_url":"https://github.com/sakumashunsuke","followers_url":"https://api.github.com/users/sakumashunsuke/followers","following_url":"https://api.github.com/users/sakumashunsuke/following{/other_user}","gists_url":"https://api.github.com/users/sakumashunsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/sakumashunsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakumashunsuke/subscriptions","organizations_url":"https://api.github.com/users/sakumashunsuke/orgs","repos_url":"https://api.github.com/users/sakumashunsuke/repos","events_url":"https://api.github.com/users/sakumashunsuke/events{/privacy}","received_events_url":"https://api.github.com/users/sakumashunsuke/received_events","type":"User","site_admin":false},"body":"売上金に手を出すのは在庫を補充する人。売上金だけを管理する人。泥棒。三人ぐらいですかねー。。。","created_at":"2015-07-28T15:14:43Z","updated_at":"2015-07-28T15:14:43Z","html_url":"https://github.com/oz-sysb/kinakomochi/pull/72#discussion_r35659147","pull_request_url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/comments/35659147"},"html":{"href":"https://github.com/oz-sysb/kinakomochi/pull/72#discussion_r35659147"},"pull_request":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72","id":41015547,"html_url":"https://github.com/oz-sysb/kinakomochi/pull/72","diff_url":"https://github.com/oz-sysb/kinakomochi/pull/72.diff","patch_url":"https://github.com/oz-sysb/kinakomochi/pull/72.patch","issue_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/72","number":72,"state":"open","locked":false,"title":"売り上げ管理するメソッドを作成","user":{"login":"sakumashunsuke","id":8132587,"avatar_url":"https://avatars.githubusercontent.com/u/8132587?v=3","gravatar_id":"","url":"https://api.github.com/users/sakumashunsuke","html_url":"https://github.com/sakumashunsuke","followers_url":"https://api.github.com/users/sakumashunsuke/followers","following_url":"https://api.github.com/users/sakumashunsuke/following{/other_user}","gists_url":"https://api.github.com/users/sakumashunsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/sakumashunsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakumashunsuke/subscriptions","organizations_url":"https://api.github.com/users/sakumashunsuke/orgs","repos_url":"https://api.github.com/users/sakumashunsuke/repos","events_url":"https://api.github.com/users/sakumashunsuke/events{/privacy}","received_events_url":"https://api.github.com/users/sakumashunsuke/received_events","type":"User","site_admin":false},"body":"totalと入れ物を変えただけ\r\n売上を管理するんだとprivateメソッドのほうがいいんですかね","created_at":"2015-07-28T14:11:05Z","updated_at":"2015-07-28T15:14:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fe1482ef254285829d0c2312afc622612fe810e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72/commits","review_comments_url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72/comments","review_comment_url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/72/comments","statuses_url":"https://api.github.com/repos/oz-sysb/kinakomochi/statuses/d8459c6f7324aaaa5394d33213e77bd5dde19559","head":{"label":"oz-sysb:saleproceeds","ref":"saleproceeds","sha":"d8459c6f7324aaaa5394d33213e77bd5dde19559","user":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"repo":{"id":38750999,"name":"kinakomochi","full_name":"oz-sysb/kinakomochi","owner":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oz-sysb/kinakomochi","description":"きなこ餅開発リポジトリ","fork":false,"url":"https://api.github.com/repos/oz-sysb/kinakomochi","forks_url":"https://api.github.com/repos/oz-sysb/kinakomochi/forks","keys_url":"https://api.github.com/repos/oz-sysb/kinakomochi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oz-sysb/kinakomochi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oz-sysb/kinakomochi/teams","hooks_url":"https://api.github.com/repos/oz-sysb/kinakomochi/hooks","issue_events_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/events{/number}","events_url":"https://api.github.com/repos/oz-sysb/kinakomochi/events","assignees_url":"https://api.github.com/repos/oz-sysb/kinakomochi/assignees{/user}","branches_url":"https://api.github.com/repos/oz-sysb/kinakomochi/branches{/branch}","tags_url":"https://api.github.com/repos/oz-sysb/kinakomochi/tags","blobs_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/refs{/sha}","trees_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oz-sysb/kinakomochi/statuses/{sha}","languages_url":"https://api.github.com/repos/oz-sysb/kinakomochi/languages","stargazers_url":"https://api.github.com/repos/oz-sysb/kinakomochi/stargazers","contributors_url":"https://api.github.com/repos/oz-sysb/kinakomochi/contributors","subscribers_url":"https://api.github.com/repos/oz-sysb/kinakomochi/subscribers","subscription_url":"https://api.github.com/repos/oz-sysb/kinakomochi/subscription","commits_url":"https://api.github.com/repos/oz-sysb/kinakomochi/commits{/sha}","git_commits_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/commits{/sha}","comments_url":"https://api.github.com/repos/oz-sysb/kinakomochi/comments{/number}","issue_comment_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/comments{/number}","contents_url":"https://api.github.com/repos/oz-sysb/kinakomochi/contents/{+path}","compare_url":"https://api.github.com/repos/oz-sysb/kinakomochi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oz-sysb/kinakomochi/merges","archive_url":"https://api.github.com/repos/oz-sysb/kinakomochi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oz-sysb/kinakomochi/downloads","issues_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues{/number}","pulls_url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls{/number}","milestones_url":"https://api.github.com/repos/oz-sysb/kinakomochi/milestones{/number}","notifications_url":"https://api.github.com/repos/oz-sysb/kinakomochi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oz-sysb/kinakomochi/labels{/name}","releases_url":"https://api.github.com/repos/oz-sysb/kinakomochi/releases{/id}","created_at":"2015-07-08T11:52:42Z","updated_at":"2015-07-27T13:44:23Z","pushed_at":"2015-07-28T14:32:10Z","git_url":"git://github.com/oz-sysb/kinakomochi.git","ssh_url":"git@github.com:oz-sysb/kinakomochi.git","clone_url":"https://github.com/oz-sysb/kinakomochi.git","svn_url":"https://github.com/oz-sysb/kinakomochi","homepage":"","size":1004,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"oz-sysb:master","ref":"master","sha":"7f4c535763827cafa8b03519e213e1b656b8a470","user":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"repo":{"id":38750999,"name":"kinakomochi","full_name":"oz-sysb/kinakomochi","owner":{"login":"oz-sysb","id":7553714,"avatar_url":"https://avatars.githubusercontent.com/u/7553714?v=3","gravatar_id":"","url":"https://api.github.com/users/oz-sysb","html_url":"https://github.com/oz-sysb","followers_url":"https://api.github.com/users/oz-sysb/followers","following_url":"https://api.github.com/users/oz-sysb/following{/other_user}","gists_url":"https://api.github.com/users/oz-sysb/gists{/gist_id}","starred_url":"https://api.github.com/users/oz-sysb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oz-sysb/subscriptions","organizations_url":"https://api.github.com/users/oz-sysb/orgs","repos_url":"https://api.github.com/users/oz-sysb/repos","events_url":"https://api.github.com/users/oz-sysb/events{/privacy}","received_events_url":"https://api.github.com/users/oz-sysb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oz-sysb/kinakomochi","description":"きなこ餅開発リポジトリ","fork":false,"url":"https://api.github.com/repos/oz-sysb/kinakomochi","forks_url":"https://api.github.com/repos/oz-sysb/kinakomochi/forks","keys_url":"https://api.github.com/repos/oz-sysb/kinakomochi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oz-sysb/kinakomochi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oz-sysb/kinakomochi/teams","hooks_url":"https://api.github.com/repos/oz-sysb/kinakomochi/hooks","issue_events_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/events{/number}","events_url":"https://api.github.com/repos/oz-sysb/kinakomochi/events","assignees_url":"https://api.github.com/repos/oz-sysb/kinakomochi/assignees{/user}","branches_url":"https://api.github.com/repos/oz-sysb/kinakomochi/branches{/branch}","tags_url":"https://api.github.com/repos/oz-sysb/kinakomochi/tags","blobs_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/refs{/sha}","trees_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oz-sysb/kinakomochi/statuses/{sha}","languages_url":"https://api.github.com/repos/oz-sysb/kinakomochi/languages","stargazers_url":"https://api.github.com/repos/oz-sysb/kinakomochi/stargazers","contributors_url":"https://api.github.com/repos/oz-sysb/kinakomochi/contributors","subscribers_url":"https://api.github.com/repos/oz-sysb/kinakomochi/subscribers","subscription_url":"https://api.github.com/repos/oz-sysb/kinakomochi/subscription","commits_url":"https://api.github.com/repos/oz-sysb/kinakomochi/commits{/sha}","git_commits_url":"https://api.github.com/repos/oz-sysb/kinakomochi/git/commits{/sha}","comments_url":"https://api.github.com/repos/oz-sysb/kinakomochi/comments{/number}","issue_comment_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/comments{/number}","contents_url":"https://api.github.com/repos/oz-sysb/kinakomochi/contents/{+path}","compare_url":"https://api.github.com/repos/oz-sysb/kinakomochi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oz-sysb/kinakomochi/merges","archive_url":"https://api.github.com/repos/oz-sysb/kinakomochi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oz-sysb/kinakomochi/downloads","issues_url":"https://api.github.com/repos/oz-sysb/kinakomochi/issues{/number}","pulls_url":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls{/number}","milestones_url":"https://api.github.com/repos/oz-sysb/kinakomochi/milestones{/number}","notifications_url":"https://api.github.com/repos/oz-sysb/kinakomochi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oz-sysb/kinakomochi/labels{/name}","releases_url":"https://api.github.com/repos/oz-sysb/kinakomochi/releases{/id}","created_at":"2015-07-08T11:52:42Z","updated_at":"2015-07-27T13:44:23Z","pushed_at":"2015-07-28T14:32:10Z","git_url":"git://github.com/oz-sysb/kinakomochi.git","ssh_url":"git@github.com:oz-sysb/kinakomochi.git","clone_url":"https://github.com/oz-sysb/kinakomochi.git","svn_url":"https://github.com/oz-sysb/kinakomochi","homepage":"","size":1004,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72"},"html":{"href":"https://github.com/oz-sysb/kinakomochi/pull/72"},"issue":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/72"},"comments":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/oz-sysb/kinakomochi/statuses/d8459c6f7324aaaa5394d33213e77bd5dde19559"}}}}