{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/1","id":39202434,"html_url":"https://github.com/Mikazukittp/yoshinani/pull/1","diff_url":"https://github.com/Mikazukittp/yoshinani/pull/1.diff","patch_url":"https://github.com/Mikazukittp/yoshinani/pull/1.patch","issue_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/1","number":1,"state":"open","locked":false,"title":"精算用のAPIを作成した","user":{"login":"matsumatsu20","id":9876274,"avatar_url":"https://avatars.githubusercontent.com/u/9876274?v=3","gravatar_id":"","url":"https://api.github.com/users/matsumatsu20","html_url":"https://github.com/matsumatsu20","followers_url":"https://api.github.com/users/matsumatsu20/followers","following_url":"https://api.github.com/users/matsumatsu20/following{/other_user}","gists_url":"https://api.github.com/users/matsumatsu20/gists{/gist_id}","starred_url":"https://api.github.com/users/matsumatsu20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsumatsu20/subscriptions","organizations_url":"https://api.github.com/users/matsumatsu20/orgs","repos_url":"https://api.github.com/users/matsumatsu20/repos","events_url":"https://api.github.com/users/matsumatsu20/events{/privacy}","received_events_url":"https://api.github.com/users/matsumatsu20/received_events","type":"User","site_admin":false},"body":"## やったこと\r\n* 精算用のメソッドを用意した（adjust）\r\n * req.body.discriptionに自動で「精算」を詰める\r\n * participantsID or participants が一人以外の場合にエラーを返すようにした\r\n* routesにそのメソッドを追加して [POST]/payments/adjustで叩けるようにした\r\n\r\n## 残タスク\r\n* 多分このブランチで作業している間にmasterが大幅に変わっているからrebaseかな？一旦レビューだけお願いします！","created_at":"2015-07-04T04:24:13Z","updated_at":"2015-07-04T04:24:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/1/comments","statuses_url":"https://api.github.com/repos/Mikazukittp/yoshinani/statuses/580874bac6d2b406fd06bb021da5c91620a32fbf","head":{"label":"Mikazukittp:create_adjustment_api","ref":"create_adjustment_api","sha":"580874bac6d2b406fd06bb021da5c91620a32fbf","user":{"login":"Mikazukittp","id":12959762,"avatar_url":"https://avatars.githubusercontent.com/u/12959762?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikazukittp","html_url":"https://github.com/Mikazukittp","followers_url":"https://api.github.com/users/Mikazukittp/followers","following_url":"https://api.github.com/users/Mikazukittp/following{/other_user}","gists_url":"https://api.github.com/users/Mikazukittp/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikazukittp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikazukittp/subscriptions","organizations_url":"https://api.github.com/users/Mikazukittp/orgs","repos_url":"https://api.github.com/users/Mikazukittp/repos","events_url":"https://api.github.com/users/Mikazukittp/events{/privacy}","received_events_url":"https://api.github.com/users/Mikazukittp/received_events","type":"Organization","site_admin":false},"repo":{"id":38401703,"name":"yoshinani","full_name":"Mikazukittp/yoshinani","owner":{"login":"Mikazukittp","id":12959762,"avatar_url":"https://avatars.githubusercontent.com/u/12959762?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikazukittp","html_url":"https://github.com/Mikazukittp","followers_url":"https://api.github.com/users/Mikazukittp/followers","following_url":"https://api.github.com/users/Mikazukittp/following{/other_user}","gists_url":"https://api.github.com/users/Mikazukittp/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikazukittp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikazukittp/subscriptions","organizations_url":"https://api.github.com/users/Mikazukittp/orgs","repos_url":"https://api.github.com/users/Mikazukittp/repos","events_url":"https://api.github.com/users/Mikazukittp/events{/privacy}","received_events_url":"https://api.github.com/users/Mikazukittp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mikazukittp/yoshinani","description":"","fork":false,"url":"https://api.github.com/repos/Mikazukittp/yoshinani","forks_url":"https://api.github.com/repos/Mikazukittp/yoshinani/forks","keys_url":"https://api.github.com/repos/Mikazukittp/yoshinani/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mikazukittp/yoshinani/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mikazukittp/yoshinani/teams","hooks_url":"https://api.github.com/repos/Mikazukittp/yoshinani/hooks","issue_events_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/events{/number}","events_url":"https://api.github.com/repos/Mikazukittp/yoshinani/events","assignees_url":"https://api.github.com/repos/Mikazukittp/yoshinani/assignees{/user}","branches_url":"https://api.github.com/repos/Mikazukittp/yoshinani/branches{/branch}","tags_url":"https://api.github.com/repos/Mikazukittp/yoshinani/tags","blobs_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mikazukittp/yoshinani/statuses/{sha}","languages_url":"https://api.github.com/repos/Mikazukittp/yoshinani/languages","stargazers_url":"https://api.github.com/repos/Mikazukittp/yoshinani/stargazers","contributors_url":"https://api.github.com/repos/Mikazukittp/yoshinani/contributors","subscribers_url":"https://api.github.com/repos/Mikazukittp/yoshinani/subscribers","subscription_url":"https://api.github.com/repos/Mikazukittp/yoshinani/subscription","commits_url":"https://api.github.com/repos/Mikazukittp/yoshinani/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mikazukittp/yoshinani/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mikazukittp/yoshinani/contents/{+path}","compare_url":"https://api.github.com/repos/Mikazukittp/yoshinani/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mikazukittp/yoshinani/merges","archive_url":"https://api.github.com/repos/Mikazukittp/yoshinani/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mikazukittp/yoshinani/downloads","issues_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues{/number}","pulls_url":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls{/number}","milestones_url":"https://api.github.com/repos/Mikazukittp/yoshinani/milestones{/number}","notifications_url":"https://api.github.com/repos/Mikazukittp/yoshinani/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mikazukittp/yoshinani/labels{/name}","releases_url":"https://api.github.com/repos/Mikazukittp/yoshinani/releases{/id}","created_at":"2015-07-02T00:12:37Z","updated_at":"2015-07-03T14:00:06Z","pushed_at":"2015-07-03T15:53:09Z","git_url":"git://github.com/Mikazukittp/yoshinani.git","ssh_url":"git@github.com:Mikazukittp/yoshinani.git","clone_url":"https://github.com/Mikazukittp/yoshinani.git","svn_url":"https://github.com/Mikazukittp/yoshinani","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Mikazukittp:master","ref":"master","sha":"74a47cd3f35db6203c50e9048a9f4d8bf0465815","user":{"login":"Mikazukittp","id":12959762,"avatar_url":"https://avatars.githubusercontent.com/u/12959762?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikazukittp","html_url":"https://github.com/Mikazukittp","followers_url":"https://api.github.com/users/Mikazukittp/followers","following_url":"https://api.github.com/users/Mikazukittp/following{/other_user}","gists_url":"https://api.github.com/users/Mikazukittp/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikazukittp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikazukittp/subscriptions","organizations_url":"https://api.github.com/users/Mikazukittp/orgs","repos_url":"https://api.github.com/users/Mikazukittp/repos","events_url":"https://api.github.com/users/Mikazukittp/events{/privacy}","received_events_url":"https://api.github.com/users/Mikazukittp/received_events","type":"Organization","site_admin":false},"repo":{"id":38401703,"name":"yoshinani","full_name":"Mikazukittp/yoshinani","owner":{"login":"Mikazukittp","id":12959762,"avatar_url":"https://avatars.githubusercontent.com/u/12959762?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikazukittp","html_url":"https://github.com/Mikazukittp","followers_url":"https://api.github.com/users/Mikazukittp/followers","following_url":"https://api.github.com/users/Mikazukittp/following{/other_user}","gists_url":"https://api.github.com/users/Mikazukittp/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikazukittp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikazukittp/subscriptions","organizations_url":"https://api.github.com/users/Mikazukittp/orgs","repos_url":"https://api.github.com/users/Mikazukittp/repos","events_url":"https://api.github.com/users/Mikazukittp/events{/privacy}","received_events_url":"https://api.github.com/users/Mikazukittp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mikazukittp/yoshinani","description":"","fork":false,"url":"https://api.github.com/repos/Mikazukittp/yoshinani","forks_url":"https://api.github.com/repos/Mikazukittp/yoshinani/forks","keys_url":"https://api.github.com/repos/Mikazukittp/yoshinani/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mikazukittp/yoshinani/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mikazukittp/yoshinani/teams","hooks_url":"https://api.github.com/repos/Mikazukittp/yoshinani/hooks","issue_events_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/events{/number}","events_url":"https://api.github.com/repos/Mikazukittp/yoshinani/events","assignees_url":"https://api.github.com/repos/Mikazukittp/yoshinani/assignees{/user}","branches_url":"https://api.github.com/repos/Mikazukittp/yoshinani/branches{/branch}","tags_url":"https://api.github.com/repos/Mikazukittp/yoshinani/tags","blobs_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mikazukittp/yoshinani/statuses/{sha}","languages_url":"https://api.github.com/repos/Mikazukittp/yoshinani/languages","stargazers_url":"https://api.github.com/repos/Mikazukittp/yoshinani/stargazers","contributors_url":"https://api.github.com/repos/Mikazukittp/yoshinani/contributors","subscribers_url":"https://api.github.com/repos/Mikazukittp/yoshinani/subscribers","subscription_url":"https://api.github.com/repos/Mikazukittp/yoshinani/subscription","commits_url":"https://api.github.com/repos/Mikazukittp/yoshinani/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mikazukittp/yoshinani/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mikazukittp/yoshinani/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mikazukittp/yoshinani/contents/{+path}","compare_url":"https://api.github.com/repos/Mikazukittp/yoshinani/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mikazukittp/yoshinani/merges","archive_url":"https://api.github.com/repos/Mikazukittp/yoshinani/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mikazukittp/yoshinani/downloads","issues_url":"https://api.github.com/repos/Mikazukittp/yoshinani/issues{/number}","pulls_url":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls{/number}","milestones_url":"https://api.github.com/repos/Mikazukittp/yoshinani/milestones{/number}","notifications_url":"https://api.github.com/repos/Mikazukittp/yoshinani/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mikazukittp/yoshinani/labels{/name}","releases_url":"https://api.github.com/repos/Mikazukittp/yoshinani/releases{/id}","created_at":"2015-07-02T00:12:37Z","updated_at":"2015-07-03T14:00:06Z","pushed_at":"2015-07-03T15:53:09Z","git_url":"git://github.com/Mikazukittp/yoshinani.git","ssh_url":"git@github.com:Mikazukittp/yoshinani.git","clone_url":"https://github.com/Mikazukittp/yoshinani.git","svn_url":"https://github.com/Mikazukittp/yoshinani","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/1"},"html":{"href":"https://github.com/Mikazukittp/yoshinani/pull/1"},"issue":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/1"},"comments":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Mikazukittp/yoshinani/statuses/580874bac6d2b406fd06bb021da5c91620a32fbf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":0,"changed_files":2}}