{"action":"created","comment":{"url":"https://api.github.com/repos/Skookum/bamboozled/pulls/comments/36819038","id":36819038,"diff_hunk":"@@ -112,5 +112,25 @@\n       expect(location).to eq \"https://api.bamboohr.com/api/gateway.php/alphasights/v1/employees/44259\"\n     end\n   end\n+\n+  describe \"#update\" do\n+    it 'updates an employee in BambooHR' do\n+      xml = YAML.load_file('spec/fixtures/update_employee_xml.yml')\n+      response = File.new('spec/fixtures/update_employee_response.json')","path":"spec/lib/bamboozled/employee_spec.rb","position":8,"original_position":8,"commit_id":"b88622ed4d0d2f3e0b8614dc7c88da4ea5c5ebb4","original_commit_id":"b88622ed4d0d2f3e0b8614dc7c88da4ea5c5ebb4","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-08-12T01:22:27Z","updated_at":"2015-08-12T01:22:27Z","html_url":"https://github.com/Skookum/bamboozled/pull/7#discussion_r36819038","pull_request_url":"https://api.github.com/repos/Skookum/bamboozled/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/comments/36819038"},"html":{"href":"https://github.com/Skookum/bamboozled/pull/7#discussion_r36819038"},"pull_request":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Skookum/bamboozled/pulls/7","id":41181047,"html_url":"https://github.com/Skookum/bamboozled/pull/7","diff_url":"https://github.com/Skookum/bamboozled/pull/7.diff","patch_url":"https://github.com/Skookum/bamboozled/pull/7.patch","issue_url":"https://api.github.com/repos/Skookum/bamboozled/issues/7","number":7,"state":"open","locked":false,"title":"Add #update method to Bamboozled::API:Employee class","user":{"login":"kylefdoherty","id":1754759,"avatar_url":"https://avatars.githubusercontent.com/u/1754759?v=3","gravatar_id":"","url":"https://api.github.com/users/kylefdoherty","html_url":"https://github.com/kylefdoherty","followers_url":"https://api.github.com/users/kylefdoherty/followers","following_url":"https://api.github.com/users/kylefdoherty/following{/other_user}","gists_url":"https://api.github.com/users/kylefdoherty/gists{/gist_id}","starred_url":"https://api.github.com/users/kylefdoherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylefdoherty/subscriptions","organizations_url":"https://api.github.com/users/kylefdoherty/orgs","repos_url":"https://api.github.com/users/kylefdoherty/repos","events_url":"https://api.github.com/users/kylefdoherty/events{/privacy}","received_events_url":"https://api.github.com/users/kylefdoherty/received_events","type":"User","site_admin":false},"body":"## What's Up\r\nCurrently Bamboozled doesn't have the ability to update Employees. This adds an #update method to the Bamboozled::API::Employee class.","created_at":"2015-07-29T22:45:07Z","updated_at":"2015-08-12T01:22:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a0a065391498211c95133330b171fb2907871e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Skookum/bamboozled/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Skookum/bamboozled/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Skookum/bamboozled/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Skookum/bamboozled/issues/7/comments","statuses_url":"https://api.github.com/repos/Skookum/bamboozled/statuses/b88622ed4d0d2f3e0b8614dc7c88da4ea5c5ebb4","head":{"label":"kylefdoherty:update_employee","ref":"update_employee","sha":"b88622ed4d0d2f3e0b8614dc7c88da4ea5c5ebb4","user":{"login":"kylefdoherty","id":1754759,"avatar_url":"https://avatars.githubusercontent.com/u/1754759?v=3","gravatar_id":"","url":"https://api.github.com/users/kylefdoherty","html_url":"https://github.com/kylefdoherty","followers_url":"https://api.github.com/users/kylefdoherty/followers","following_url":"https://api.github.com/users/kylefdoherty/following{/other_user}","gists_url":"https://api.github.com/users/kylefdoherty/gists{/gist_id}","starred_url":"https://api.github.com/users/kylefdoherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylefdoherty/subscriptions","organizations_url":"https://api.github.com/users/kylefdoherty/orgs","repos_url":"https://api.github.com/users/kylefdoherty/repos","events_url":"https://api.github.com/users/kylefdoherty/events{/privacy}","received_events_url":"https://api.github.com/users/kylefdoherty/received_events","type":"User","site_admin":false},"repo":{"id":38882179,"name":"bamboozled","full_name":"kylefdoherty/bamboozled","owner":{"login":"kylefdoherty","id":1754759,"avatar_url":"https://avatars.githubusercontent.com/u/1754759?v=3","gravatar_id":"","url":"https://api.github.com/users/kylefdoherty","html_url":"https://github.com/kylefdoherty","followers_url":"https://api.github.com/users/kylefdoherty/followers","following_url":"https://api.github.com/users/kylefdoherty/following{/other_user}","gists_url":"https://api.github.com/users/kylefdoherty/gists{/gist_id}","starred_url":"https://api.github.com/users/kylefdoherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylefdoherty/subscriptions","organizations_url":"https://api.github.com/users/kylefdoherty/orgs","repos_url":"https://api.github.com/users/kylefdoherty/repos","events_url":"https://api.github.com/users/kylefdoherty/events{/privacy}","received_events_url":"https://api.github.com/users/kylefdoherty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kylefdoherty/bamboozled","description":"Bamboozled wraps the BambooHR API without the use of Rails dependencies.","fork":true,"url":"https://api.github.com/repos/kylefdoherty/bamboozled","forks_url":"https://api.github.com/repos/kylefdoherty/bamboozled/forks","keys_url":"https://api.github.com/repos/kylefdoherty/bamboozled/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kylefdoherty/bamboozled/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kylefdoherty/bamboozled/teams","hooks_url":"https://api.github.com/repos/kylefdoherty/bamboozled/hooks","issue_events_url":"https://api.github.com/repos/kylefdoherty/bamboozled/issues/events{/number}","events_url":"https://api.github.com/repos/kylefdoherty/bamboozled/events","assignees_url":"https://api.github.com/repos/kylefdoherty/bamboozled/assignees{/user}","branches_url":"https://api.github.com/repos/kylefdoherty/bamboozled/branches{/branch}","tags_url":"https://api.github.com/repos/kylefdoherty/bamboozled/tags","blobs_url":"https://api.github.com/repos/kylefdoherty/bamboozled/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kylefdoherty/bamboozled/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kylefdoherty/bamboozled/git/refs{/sha}","trees_url":"https://api.github.com/repos/kylefdoherty/bamboozled/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kylefdoherty/bamboozled/statuses/{sha}","languages_url":"https://api.github.com/repos/kylefdoherty/bamboozled/languages","stargazers_url":"https://api.github.com/repos/kylefdoherty/bamboozled/stargazers","contributors_url":"https://api.github.com/repos/kylefdoherty/bamboozled/contributors","subscribers_url":"https://api.github.com/repos/kylefdoherty/bamboozled/subscribers","subscription_url":"https://api.github.com/repos/kylefdoherty/bamboozled/subscription","commits_url":"https://api.github.com/repos/kylefdoherty/bamboozled/commits{/sha}","git_commits_url":"https://api.github.com/repos/kylefdoherty/bamboozled/git/commits{/sha}","comments_url":"https://api.github.com/repos/kylefdoherty/bamboozled/comments{/number}","issue_comment_url":"https://api.github.com/repos/kylefdoherty/bamboozled/issues/comments{/number}","contents_url":"https://api.github.com/repos/kylefdoherty/bamboozled/contents/{+path}","compare_url":"https://api.github.com/repos/kylefdoherty/bamboozled/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kylefdoherty/bamboozled/merges","archive_url":"https://api.github.com/repos/kylefdoherty/bamboozled/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kylefdoherty/bamboozled/downloads","issues_url":"https://api.github.com/repos/kylefdoherty/bamboozled/issues{/number}","pulls_url":"https://api.github.com/repos/kylefdoherty/bamboozled/pulls{/number}","milestones_url":"https://api.github.com/repos/kylefdoherty/bamboozled/milestones{/number}","notifications_url":"https://api.github.com/repos/kylefdoherty/bamboozled/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kylefdoherty/bamboozled/labels{/name}","releases_url":"https://api.github.com/repos/kylefdoherty/bamboozled/releases{/id}","created_at":"2015-07-10T13:36:06Z","updated_at":"2015-07-10T13:36:06Z","pushed_at":"2015-08-12T01:22:24Z","git_url":"git://github.com/kylefdoherty/bamboozled.git","ssh_url":"git@github.com:kylefdoherty/bamboozled.git","clone_url":"https://github.com/kylefdoherty/bamboozled.git","svn_url":"https://github.com/kylefdoherty/bamboozled","homepage":null,"size":255,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"Skookum:master","ref":"master","sha":"04bca9196cf605e850601f80f1c6d5d063c0e6f7","user":{"login":"Skookum","id":314568,"avatar_url":"https://avatars.githubusercontent.com/u/314568?v=3","gravatar_id":"","url":"https://api.github.com/users/Skookum","html_url":"https://github.com/Skookum","followers_url":"https://api.github.com/users/Skookum/followers","following_url":"https://api.github.com/users/Skookum/following{/other_user}","gists_url":"https://api.github.com/users/Skookum/gists{/gist_id}","starred_url":"https://api.github.com/users/Skookum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skookum/subscriptions","organizations_url":"https://api.github.com/users/Skookum/orgs","repos_url":"https://api.github.com/users/Skookum/repos","events_url":"https://api.github.com/users/Skookum/events{/privacy}","received_events_url":"https://api.github.com/users/Skookum/received_events","type":"Organization","site_admin":false},"repo":{"id":20931838,"name":"bamboozled","full_name":"Skookum/bamboozled","owner":{"login":"Skookum","id":314568,"avatar_url":"https://avatars.githubusercontent.com/u/314568?v=3","gravatar_id":"","url":"https://api.github.com/users/Skookum","html_url":"https://github.com/Skookum","followers_url":"https://api.github.com/users/Skookum/followers","following_url":"https://api.github.com/users/Skookum/following{/other_user}","gists_url":"https://api.github.com/users/Skookum/gists{/gist_id}","starred_url":"https://api.github.com/users/Skookum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skookum/subscriptions","organizations_url":"https://api.github.com/users/Skookum/orgs","repos_url":"https://api.github.com/users/Skookum/repos","events_url":"https://api.github.com/users/Skookum/events{/privacy}","received_events_url":"https://api.github.com/users/Skookum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Skookum/bamboozled","description":"Bamboozled wraps the BambooHR API without the use of Rails dependencies.","fork":false,"url":"https://api.github.com/repos/Skookum/bamboozled","forks_url":"https://api.github.com/repos/Skookum/bamboozled/forks","keys_url":"https://api.github.com/repos/Skookum/bamboozled/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Skookum/bamboozled/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Skookum/bamboozled/teams","hooks_url":"https://api.github.com/repos/Skookum/bamboozled/hooks","issue_events_url":"https://api.github.com/repos/Skookum/bamboozled/issues/events{/number}","events_url":"https://api.github.com/repos/Skookum/bamboozled/events","assignees_url":"https://api.github.com/repos/Skookum/bamboozled/assignees{/user}","branches_url":"https://api.github.com/repos/Skookum/bamboozled/branches{/branch}","tags_url":"https://api.github.com/repos/Skookum/bamboozled/tags","blobs_url":"https://api.github.com/repos/Skookum/bamboozled/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Skookum/bamboozled/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Skookum/bamboozled/git/refs{/sha}","trees_url":"https://api.github.com/repos/Skookum/bamboozled/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Skookum/bamboozled/statuses/{sha}","languages_url":"https://api.github.com/repos/Skookum/bamboozled/languages","stargazers_url":"https://api.github.com/repos/Skookum/bamboozled/stargazers","contributors_url":"https://api.github.com/repos/Skookum/bamboozled/contributors","subscribers_url":"https://api.github.com/repos/Skookum/bamboozled/subscribers","subscription_url":"https://api.github.com/repos/Skookum/bamboozled/subscription","commits_url":"https://api.github.com/repos/Skookum/bamboozled/commits{/sha}","git_commits_url":"https://api.github.com/repos/Skookum/bamboozled/git/commits{/sha}","comments_url":"https://api.github.com/repos/Skookum/bamboozled/comments{/number}","issue_comment_url":"https://api.github.com/repos/Skookum/bamboozled/issues/comments{/number}","contents_url":"https://api.github.com/repos/Skookum/bamboozled/contents/{+path}","compare_url":"https://api.github.com/repos/Skookum/bamboozled/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Skookum/bamboozled/merges","archive_url":"https://api.github.com/repos/Skookum/bamboozled/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Skookum/bamboozled/downloads","issues_url":"https://api.github.com/repos/Skookum/bamboozled/issues{/number}","pulls_url":"https://api.github.com/repos/Skookum/bamboozled/pulls{/number}","milestones_url":"https://api.github.com/repos/Skookum/bamboozled/milestones{/number}","notifications_url":"https://api.github.com/repos/Skookum/bamboozled/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Skookum/bamboozled/labels{/name}","releases_url":"https://api.github.com/repos/Skookum/bamboozled/releases{/id}","created_at":"2014-06-17T16:52:31Z","updated_at":"2015-03-14T19:01:57Z","pushed_at":"2015-08-12T01:22:24Z","git_url":"git://github.com/Skookum/bamboozled.git","ssh_url":"git@github.com:Skookum/bamboozled.git","clone_url":"https://github.com/Skookum/bamboozled.git","svn_url":"https://github.com/Skookum/bamboozled","homepage":null,"size":356,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/7"},"html":{"href":"https://github.com/Skookum/bamboozled/pull/7"},"issue":{"href":"https://api.github.com/repos/Skookum/bamboozled/issues/7"},"comments":{"href":"https://api.github.com/repos/Skookum/bamboozled/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Skookum/bamboozled/statuses/b88622ed4d0d2f3e0b8614dc7c88da4ea5c5ebb4"}}}}