{"action":"created","comment":{"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments/41898202","id":41898202,"diff_hunk":"@@ -0,0 +1,36 @@\n+# Copyright 2015 CareerBuilder, LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and limitations under the License.\n+require 'spec_helper'\n+\n+module Cb\n+  module Responses\n+    module CoverLetter\n+      describe Update do\n+        let(:cb_cover_letter_update_response) { described_class.new api_response }\n+        let(:api_response) { JSON.parse File.read('spec/support/response_stubs/cover_letter/update.json') }\n+\n+        it { expect(described_class).to be < Cb::Responses::ApiResponse }\n+\n+        describe '#models' do\n+          subject { cb_cover_letter_update_response.models }\n+\n+          it { is_expected.to be nil }","path":"spec/cb/responses/cover_letter/update_spec.rb","position":25,"original_position":25,"commit_id":"add2aaff60c0f42c4ec234f9059195b15093b0d1","original_commit_id":"4546712fac5f5a9542ba97e33e151c1a4c2f72ff","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":"i think there's a huge re-architecture decision looming for this gem?","created_at":"2015-10-13T17:33:52Z","updated_at":"2015-10-13T17:33:52Z","html_url":"https://github.com/careerbuilder/ruby-cb-api/pull/218#discussion_r41898202","pull_request_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218","_links":{"self":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments/41898202"},"html":{"href":"https://github.com/careerbuilder/ruby-cb-api/pull/218#discussion_r41898202"},"pull_request":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218"}}},"pull_request":{"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218","id":47561586,"html_url":"https://github.com/careerbuilder/ruby-cb-api/pull/218","diff_url":"https://github.com/careerbuilder/ruby-cb-api/pull/218.diff","patch_url":"https://github.com/careerbuilder/ruby-cb-api/pull/218.patch","issue_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/218","number":218,"state":"open","locked":false,"title":"Cover Letter - Update API","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":"Hello, all!\r\n\r\nI'm adding the Update part for the Cover Letters API.\r\nYou can demo it here:\r\nhttp://m-seo.cbmtn.io/cover-letters\r\n\r\nIf you do not have any cover letters, you can add a cover letter <a href=\"http://www.careerbuilder.com/jobseeker/resumes/addcoverletter.aspx?rtrnurl=http%3a%2f%2fwww.careerbuilder.com%2fjobseeker%2fmycb.aspx\">here</a>.\r\n","created_at":"2015-10-13T17:14:34Z","updated_at":"2015-10-13T17:33:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8a5ef6c099c1e27b637cf69aa56ce52f63dc98e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218/commits","review_comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218/comments","review_comment_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/218/comments","statuses_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/add2aaff60c0f42c4ec234f9059195b15093b0d1","head":{"label":"careerbuilder:cover-letter-update","ref":"cover-letter-update","sha":"add2aaff60c0f42c4ec234f9059195b15093b0d1","user":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"careerbuilder/ruby-cb-api","owner":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/careerbuilder/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api","forks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2015-08-31T13:19:37Z","pushed_at":"2015-10-13T17:28:28Z","git_url":"git://github.com/careerbuilder/ruby-cb-api.git","ssh_url":"git@github.com:careerbuilder/ruby-cb-api.git","clone_url":"https://github.com/careerbuilder/ruby-cb-api.git","svn_url":"https://github.com/careerbuilder/ruby-cb-api","homepage":"","size":5486,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"careerbuilder:master","ref":"master","sha":"980b26491d51270231310b18e8e34de33bf36825","user":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"careerbuilder/ruby-cb-api","owner":{"login":"careerbuilder","id":1043090,"avatar_url":"https://avatars.githubusercontent.com/u/1043090?v=3","gravatar_id":"","url":"https://api.github.com/users/careerbuilder","html_url":"https://github.com/careerbuilder","followers_url":"https://api.github.com/users/careerbuilder/followers","following_url":"https://api.github.com/users/careerbuilder/following{/other_user}","gists_url":"https://api.github.com/users/careerbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/careerbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careerbuilder/subscriptions","organizations_url":"https://api.github.com/users/careerbuilder/orgs","repos_url":"https://api.github.com/users/careerbuilder/repos","events_url":"https://api.github.com/users/careerbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/careerbuilder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/careerbuilder/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/careerbuilder/ruby-cb-api","forks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/careerbuilder/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2015-08-31T13:19:37Z","pushed_at":"2015-10-13T17:28:28Z","git_url":"git://github.com/careerbuilder/ruby-cb-api.git","ssh_url":"git@github.com:careerbuilder/ruby-cb-api.git","clone_url":"https://github.com/careerbuilder/ruby-cb-api.git","svn_url":"https://github.com/careerbuilder/ruby-cb-api","homepage":"","size":5486,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218"},"html":{"href":"https://github.com/careerbuilder/ruby-cb-api/pull/218"},"issue":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/218"},"comments":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/careerbuilder/ruby-cb-api/statuses/add2aaff60c0f42c4ec234f9059195b15093b0d1"}}}}