{"action":"created","comment":{"url":"https://api.github.com/repos/ca-cwds/intake/pulls/comments/101145871","pull_request_review_id":21866832,"id":101145871,"diff_hunk":"@@ -23,26 +23,31 @@ def self.find(id)\n \n   def self.update(person)\n     raise 'Error updating person: id is required' unless person.id\n-    response = make_api_call(\"#{PEOPLE_PATH}/#{person.id}\", :put, person)\n+    response = make_api_call(\"#{PEOPLE_PATH}/#{person.id}\", :put, nil, person)","path":"app/repositories/person_repository.rb","position":14,"original_position":14,"commit_id":"8b3faaf316f61b824f0f10c2c80a6a49b49824e8","original_commit_id":"8b3faaf316f61b824f0f10c2c80a6a49b49824e8","user":{"login":"pemaOSI","id":22503271,"avatar_url":"https://avatars.githubusercontent.com/u/22503271?v=3","gravatar_id":"","url":"https://api.github.com/users/pemaOSI","html_url":"https://github.com/pemaOSI","followers_url":"https://api.github.com/users/pemaOSI/followers","following_url":"https://api.github.com/users/pemaOSI/following{/other_user}","gists_url":"https://api.github.com/users/pemaOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/pemaOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pemaOSI/subscriptions","organizations_url":"https://api.github.com/users/pemaOSI/orgs","repos_url":"https://api.github.com/users/pemaOSI/repos","events_url":"https://api.github.com/users/pemaOSI/events{/privacy}","received_events_url":"https://api.github.com/users/pemaOSI/received_events","type":"User","site_admin":false},"body":"can we use named parameters?","created_at":"2017-02-14T21:20:32Z","updated_at":"2017-02-14T21:20:33Z","html_url":"https://github.com/ca-cwds/intake/pull/97#discussion_r101145871","pull_request_url":"https://api.github.com/repos/ca-cwds/intake/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/intake/pulls/comments/101145871"},"html":{"href":"https://github.com/ca-cwds/intake/pull/97#discussion_r101145871"},"pull_request":{"href":"https://api.github.com/repos/ca-cwds/intake/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/ca-cwds/intake/pulls/97","id":106177681,"html_url":"https://github.com/ca-cwds/intake/pull/97","diff_url":"https://github.com/ca-cwds/intake/pull/97.diff","patch_url":"https://github.com/ca-cwds/intake/pull/97.patch","issue_url":"https://api.github.com/repos/ca-cwds/intake/issues/97","number":97,"state":"open","locked":false,"title":"Add security token to R1 calls to API","user":{"login":"ThomasOSI","id":22504156,"avatar_url":"https://avatars.githubusercontent.com/u/22504156?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasOSI","html_url":"https://github.com/ThomasOSI","followers_url":"https://api.github.com/users/ThomasOSI/followers","following_url":"https://api.github.com/users/ThomasOSI/following{/other_user}","gists_url":"https://api.github.com/users/ThomasOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasOSI/subscriptions","organizations_url":"https://api.github.com/users/ThomasOSI/orgs","repos_url":"https://api.github.com/users/ThomasOSI/repos","events_url":"https://api.github.com/users/ThomasOSI/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasOSI/received_events","type":"User","site_admin":false},"body":"[#139758547]","created_at":"2017-02-14T19:42:50Z","updated_at":"2017-02-14T21:20:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf3c648cb4ec57c5e81e60cc767d19fa70df01b5","assignee":{"login":"pemaOSI","id":22503271,"avatar_url":"https://avatars.githubusercontent.com/u/22503271?v=3","gravatar_id":"","url":"https://api.github.com/users/pemaOSI","html_url":"https://github.com/pemaOSI","followers_url":"https://api.github.com/users/pemaOSI/followers","following_url":"https://api.github.com/users/pemaOSI/following{/other_user}","gists_url":"https://api.github.com/users/pemaOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/pemaOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pemaOSI/subscriptions","organizations_url":"https://api.github.com/users/pemaOSI/orgs","repos_url":"https://api.github.com/users/pemaOSI/repos","events_url":"https://api.github.com/users/pemaOSI/events{/privacy}","received_events_url":"https://api.github.com/users/pemaOSI/received_events","type":"User","site_admin":false},"assignees":[{"login":"pemaOSI","id":22503271,"avatar_url":"https://avatars.githubusercontent.com/u/22503271?v=3","gravatar_id":"","url":"https://api.github.com/users/pemaOSI","html_url":"https://github.com/pemaOSI","followers_url":"https://api.github.com/users/pemaOSI/followers","following_url":"https://api.github.com/users/pemaOSI/following{/other_user}","gists_url":"https://api.github.com/users/pemaOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/pemaOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pemaOSI/subscriptions","organizations_url":"https://api.github.com/users/pemaOSI/orgs","repos_url":"https://api.github.com/users/pemaOSI/repos","events_url":"https://api.github.com/users/pemaOSI/events{/privacy}","received_events_url":"https://api.github.com/users/pemaOSI/received_events","type":"User","site_admin":false},{"login":"NateOSI","id":22509591,"avatar_url":"https://avatars.githubusercontent.com/u/22509591?v=3","gravatar_id":"","url":"https://api.github.com/users/NateOSI","html_url":"https://github.com/NateOSI","followers_url":"https://api.github.com/users/NateOSI/followers","following_url":"https://api.github.com/users/NateOSI/following{/other_user}","gists_url":"https://api.github.com/users/NateOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/NateOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateOSI/subscriptions","organizations_url":"https://api.github.com/users/NateOSI/orgs","repos_url":"https://api.github.com/users/NateOSI/repos","events_url":"https://api.github.com/users/NateOSI/events{/privacy}","received_events_url":"https://api.github.com/users/NateOSI/received_events","type":"User","site_admin":false},{"login":"aaronOSI","id":25188905,"avatar_url":"https://avatars.githubusercontent.com/u/25188905?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronOSI","html_url":"https://github.com/aaronOSI","followers_url":"https://api.github.com/users/aaronOSI/followers","following_url":"https://api.github.com/users/aaronOSI/following{/other_user}","gists_url":"https://api.github.com/users/aaronOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronOSI/subscriptions","organizations_url":"https://api.github.com/users/aaronOSI/orgs","repos_url":"https://api.github.com/users/aaronOSI/repos","events_url":"https://api.github.com/users/aaronOSI/events{/privacy}","received_events_url":"https://api.github.com/users/aaronOSI/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ca-cwds/intake/pulls/97/commits","review_comments_url":"https://api.github.com/repos/ca-cwds/intake/pulls/97/comments","review_comment_url":"https://api.github.com/repos/ca-cwds/intake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ca-cwds/intake/issues/97/comments","statuses_url":"https://api.github.com/repos/ca-cwds/intake/statuses/8b3faaf316f61b824f0f10c2c80a6a49b49824e8","head":{"label":"ca-cwds:in_139758547_add_authorization_header_to_api_calls","ref":"in_139758547_add_authorization_header_to_api_calls","sha":"8b3faaf316f61b824f0f10c2c80a6a49b49824e8","user":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"repo":{"id":69582220,"name":"intake","full_name":"ca-cwds/intake","owner":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ca-cwds/intake","description":"The Casebook Intake Accelerator","fork":true,"url":"https://api.github.com/repos/ca-cwds/intake","forks_url":"https://api.github.com/repos/ca-cwds/intake/forks","keys_url":"https://api.github.com/repos/ca-cwds/intake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/intake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/intake/teams","hooks_url":"https://api.github.com/repos/ca-cwds/intake/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/intake/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/intake/events","assignees_url":"https://api.github.com/repos/ca-cwds/intake/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/intake/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/intake/tags","blobs_url":"https://api.github.com/repos/ca-cwds/intake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/intake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/intake/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/intake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/intake/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/intake/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/intake/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/intake/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/intake/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/intake/subscription","commits_url":"https://api.github.com/repos/ca-cwds/intake/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/intake/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/intake/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/intake/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/intake/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/intake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/intake/merges","archive_url":"https://api.github.com/repos/ca-cwds/intake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/intake/downloads","issues_url":"https://api.github.com/repos/ca-cwds/intake/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/intake/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/intake/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/intake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/intake/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/intake/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/intake/deployments","created_at":"2016-09-29T15:42:09Z","updated_at":"2016-11-21T22:47:30Z","pushed_at":"2017-02-14T19:42:51Z","git_url":"git://github.com/ca-cwds/intake.git","ssh_url":"git@github.com:ca-cwds/intake.git","clone_url":"https://github.com/ca-cwds/intake.git","svn_url":"https://github.com/ca-cwds/intake","homepage":"","size":2713,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":3,"default_branch":"master"}},"base":{"label":"ca-cwds:master","ref":"master","sha":"7759462c4f40f0daffa6707657493764371fcb64","user":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"repo":{"id":69582220,"name":"intake","full_name":"ca-cwds/intake","owner":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ca-cwds/intake","description":"The Casebook Intake Accelerator","fork":true,"url":"https://api.github.com/repos/ca-cwds/intake","forks_url":"https://api.github.com/repos/ca-cwds/intake/forks","keys_url":"https://api.github.com/repos/ca-cwds/intake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/intake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/intake/teams","hooks_url":"https://api.github.com/repos/ca-cwds/intake/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/intake/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/intake/events","assignees_url":"https://api.github.com/repos/ca-cwds/intake/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/intake/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/intake/tags","blobs_url":"https://api.github.com/repos/ca-cwds/intake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/intake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/intake/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/intake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/intake/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/intake/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/intake/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/intake/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/intake/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/intake/subscription","commits_url":"https://api.github.com/repos/ca-cwds/intake/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/intake/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/intake/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/intake/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/intake/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/intake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/intake/merges","archive_url":"https://api.github.com/repos/ca-cwds/intake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/intake/downloads","issues_url":"https://api.github.com/repos/ca-cwds/intake/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/intake/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/intake/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/intake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/intake/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/intake/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/intake/deployments","created_at":"2016-09-29T15:42:09Z","updated_at":"2016-11-21T22:47:30Z","pushed_at":"2017-02-14T19:42:51Z","git_url":"git://github.com/ca-cwds/intake.git","ssh_url":"git@github.com:ca-cwds/intake.git","clone_url":"https://github.com/ca-cwds/intake.git","svn_url":"https://github.com/ca-cwds/intake","homepage":"","size":2713,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/intake/pulls/97"},"html":{"href":"https://github.com/ca-cwds/intake/pull/97"},"issue":{"href":"https://api.github.com/repos/ca-cwds/intake/issues/97"},"comments":{"href":"https://api.github.com/repos/ca-cwds/intake/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/ca-cwds/intake/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/ca-cwds/intake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ca-cwds/intake/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/ca-cwds/intake/statuses/8b3faaf316f61b824f0f10c2c80a6a49b49824e8"}}}}
{"actor":{"display_login":"pemaOSI"}}