{"action":"created","comment":{"url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/22967872","id":22967872,"diff_hunk":"@@ -0,0 +1,39 @@\n+require_relative '../base'\n+\n+module Cb\n+  module Requests\n+    module Resumes\n+      class Post < Base\n+        def endpoint_uri\n+          Cb.configuration.uri_resume_post\n+        end\n+\n+        def http_method\n+          :post\n+        end\n+\n+        def body\n+          {\n+            desiredJobTitle: args[:desired_job_title],\n+            privacySetting: args[:privacy_setting],\n+            resumeFileData: args[:resume_file_data],\n+            resumeFileName: args[:resume_file_name],\n+            hostSite: args[:host_site]\n+          }.to_json\n+        end\n+\n+        def headers\n+          {\n+            'HostSite' => Cb.configuration.host_site,","path":"lib/cb/requests/resumes/post.rb","position":27,"original_position":27,"commit_id":"e0c031b2f8c7306cf291d5180f97083b577dcc57","original_commit_id":"e0c031b2f8c7306cf291d5180f97083b577dcc57","user":{"login":"helious","id":1392645,"avatar_url":"https://avatars.githubusercontent.com/u/1392645?v=3","gravatar_id":"","url":"https://api.github.com/users/helious","html_url":"https://github.com/helious","followers_url":"https://api.github.com/users/helious/followers","following_url":"https://api.github.com/users/helious/following{/other_user}","gists_url":"https://api.github.com/users/helious/gists{/gist_id}","starred_url":"https://api.github.com/users/helious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helious/subscriptions","organizations_url":"https://api.github.com/users/helious/orgs","repos_url":"https://api.github.com/users/helious/repos","events_url":"https://api.github.com/users/helious/events{/privacy}","received_events_url":"https://api.github.com/users/helious/received_events","type":"User","site_admin":false},"body":"do we need to pass this header along?","created_at":"2015-01-14T20:36:17Z","updated_at":"2015-01-14T20:36:17Z","html_url":"https://github.com/cbdr/ruby-cb-api/pull/182#discussion_r22967872","pull_request_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182","_links":{"self":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/22967872"},"html":{"href":"https://github.com/cbdr/ruby-cb-api/pull/182#discussion_r22967872"},"pull_request":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182"}}},"pull_request":{"url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182","id":27344921,"html_url":"https://github.com/cbdr/ruby-cb-api/pull/182","diff_url":"https://github.com/cbdr/ruby-cb-api/pull/182.diff","patch_url":"https://github.com/cbdr/ruby-cb-api/pull/182.patch","issue_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/182","number":182,"state":"open","locked":false,"title":"Resume post","user":{"login":"marcusmoncayo","id":4705142,"avatar_url":"https://avatars.githubusercontent.com/u/4705142?v=3","gravatar_id":"","url":"https://api.github.com/users/marcusmoncayo","html_url":"https://github.com/marcusmoncayo","followers_url":"https://api.github.com/users/marcusmoncayo/followers","following_url":"https://api.github.com/users/marcusmoncayo/following{/other_user}","gists_url":"https://api.github.com/users/marcusmoncayo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcusmoncayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcusmoncayo/subscriptions","organizations_url":"https://api.github.com/users/marcusmoncayo/orgs","repos_url":"https://api.github.com/users/marcusmoncayo/repos","events_url":"https://api.github.com/users/marcusmoncayo/events{/privacy}","received_events_url":"https://api.github.com/users/marcusmoncayo/received_events","type":"User","site_admin":false},"body":"This is the resume post/create api call. ","created_at":"2015-01-14T12:01:50Z","updated_at":"2015-01-14T20:36:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4f0be1c7d29c0a53d47e7bb647e5d223028aab1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182/commits","review_comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182/comments","review_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/182/comments","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/e0c031b2f8c7306cf291d5180f97083b577dcc57","head":{"label":"cbdr:resume_post","ref":"resume_post","sha":"e0c031b2f8c7306cf291d5180f97083b577dcc57","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"cbdr/ruby-cb-api","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/cbdr/ruby-cb-api","forks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/cbdr/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/cbdr/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2015-01-05T14:55:46Z","pushed_at":"2015-01-14T12:05:30Z","git_url":"git://github.com/cbdr/ruby-cb-api.git","ssh_url":"git@github.com:cbdr/ruby-cb-api.git","clone_url":"https://github.com/cbdr/ruby-cb-api.git","svn_url":"https://github.com/cbdr/ruby-cb-api","homepage":"","size":5264,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"cbdr:master","ref":"master","sha":"742463ef810405bff3f8d300f6744ed03cdaee8f","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"cbdr/ruby-cb-api","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/cbdr/ruby-cb-api","forks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/cbdr/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/cbdr/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2015-01-05T14:55:46Z","pushed_at":"2015-01-14T12:05:30Z","git_url":"git://github.com/cbdr/ruby-cb-api.git","ssh_url":"git@github.com:cbdr/ruby-cb-api.git","clone_url":"https://github.com/cbdr/ruby-cb-api.git","svn_url":"https://github.com/cbdr/ruby-cb-api","homepage":"","size":5264,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182"},"html":{"href":"https://github.com/cbdr/ruby-cb-api/pull/182"},"issue":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/182"},"comments":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/e0c031b2f8c7306cf291d5180f97083b577dcc57"}}}}