{"action":"created","comment":{"url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/comments/47583516","id":47583516,"diff_hunk":"@@ -0,0 +1,43 @@\n+# Copyright (C) 2015 Twitter, Inc.\n+\n+require 'spec_helper'\n+\n+include TwitterAds::Enum\n+\n+describe TwitterAds::LineItem do\n+\n+  let(:client) do\n+    Client.new(\n+      Faker::Lorem.characters(15),\n+      Faker::Lorem.characters(40),\n+      \"123456-#{Faker::Lorem.characters(40)}\",\n+      Faker::Lorem.characters(40)\n+    )\n+  end\n+\n+  describe '#placements' do\n+\n+    before(:each) do\n+      url = Addressable::Template.new \"#{ADS_API}/line_items/placements{?product_type}\"","path":"spec/twitter-ads/campaign/line_item_spec.rb","position":21,"original_position":21,"commit_id":"1c21267052efd26e165eafbb47ae89ec4560f63e","original_commit_id":"1c21267052efd26e165eafbb47ae89ec4560f63e","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":"Line is too long. [87/80]","created_at":"2015-12-15T00:55:36Z","updated_at":"2015-12-15T00:55:36Z","html_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk/pull/64#discussion_r47583516","pull_request_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/comments/47583516"},"html":{"href":"https://github.com/twitterdev/twitter-ruby-ads-sdk/pull/64#discussion_r47583516"},"pull_request":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64","id":53645799,"html_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk/pull/64","diff_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk/pull/64.diff","patch_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk/pull/64.patch","issue_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues/64","number":64,"state":"open","locked":false,"title":"[house-cleaning] refactor of codebase structure, deprecating legacy","user":{"login":"brandonblack","id":489331,"avatar_url":"https://avatars.githubusercontent.com/u/489331?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonblack","html_url":"https://github.com/brandonblack","followers_url":"https://api.github.com/users/brandonblack/followers","following_url":"https://api.github.com/users/brandonblack/following{/other_user}","gists_url":"https://api.github.com/users/brandonblack/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonblack/subscriptions","organizations_url":"https://api.github.com/users/brandonblack/orgs","repos_url":"https://api.github.com/users/brandonblack/repos","events_url":"https://api.github.com/users/brandonblack/events{/privacy}","received_events_url":"https://api.github.com/users/brandonblack/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-12-15T00:55:27Z","updated_at":"2015-12-15T00:55:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35b8bbf8beed972bc510f6b4a65e96b9d4903924","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64/commits","review_comments_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64/comments","review_comment_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues/64/comments","statuses_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/statuses/1c21267052efd26e165eafbb47ae89ec4560f63e","head":{"label":"brandonblack:lib-refactor","ref":"lib-refactor","sha":"1c21267052efd26e165eafbb47ae89ec4560f63e","user":{"login":"brandonblack","id":489331,"avatar_url":"https://avatars.githubusercontent.com/u/489331?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonblack","html_url":"https://github.com/brandonblack","followers_url":"https://api.github.com/users/brandonblack/followers","following_url":"https://api.github.com/users/brandonblack/following{/other_user}","gists_url":"https://api.github.com/users/brandonblack/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonblack/subscriptions","organizations_url":"https://api.github.com/users/brandonblack/orgs","repos_url":"https://api.github.com/users/brandonblack/repos","events_url":"https://api.github.com/users/brandonblack/events{/privacy}","received_events_url":"https://api.github.com/users/brandonblack/received_events","type":"User","site_admin":false},"repo":{"id":40862742,"name":"twitter-ruby-ads-sdk","full_name":"brandonblack/twitter-ruby-ads-sdk","owner":{"login":"brandonblack","id":489331,"avatar_url":"https://avatars.githubusercontent.com/u/489331?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonblack","html_url":"https://github.com/brandonblack","followers_url":"https://api.github.com/users/brandonblack/followers","following_url":"https://api.github.com/users/brandonblack/following{/other_user}","gists_url":"https://api.github.com/users/brandonblack/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonblack/subscriptions","organizations_url":"https://api.github.com/users/brandonblack/orgs","repos_url":"https://api.github.com/users/brandonblack/repos","events_url":"https://api.github.com/users/brandonblack/events{/privacy}","received_events_url":"https://api.github.com/users/brandonblack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brandonblack/twitter-ruby-ads-sdk","description":"A Twitter supported and maintained Ads API SDK for Ruby.","fork":true,"url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk","forks_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/forks","keys_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/teams","hooks_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/hooks","issue_events_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/events","assignees_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/tags","blobs_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/languages","stargazers_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/stargazers","contributors_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/contributors","subscribers_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/subscribers","subscription_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/subscription","commits_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/merges","archive_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/downloads","issues_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/labels{/name}","releases_url":"https://api.github.com/repos/brandonblack/twitter-ruby-ads-sdk/releases{/id}","created_at":"2015-08-17T04:12:32Z","updated_at":"2015-08-17T04:12:32Z","pushed_at":"2015-12-15T00:55:04Z","git_url":"git://github.com/brandonblack/twitter-ruby-ads-sdk.git","ssh_url":"git@github.com:brandonblack/twitter-ruby-ads-sdk.git","clone_url":"https://github.com/brandonblack/twitter-ruby-ads-sdk.git","svn_url":"https://github.com/brandonblack/twitter-ruby-ads-sdk","homepage":"http://twitterdev.github.io/twitter-ruby-ads-sdk/","size":389,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"twitterdev:master","ref":"master","sha":"8d0177f70434bfde201154e5076dcc24bc1ca481","user":{"login":"twitterdev","id":7451118,"avatar_url":"https://avatars.githubusercontent.com/u/7451118?v=3","gravatar_id":"","url":"https://api.github.com/users/twitterdev","html_url":"https://github.com/twitterdev","followers_url":"https://api.github.com/users/twitterdev/followers","following_url":"https://api.github.com/users/twitterdev/following{/other_user}","gists_url":"https://api.github.com/users/twitterdev/gists{/gist_id}","starred_url":"https://api.github.com/users/twitterdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitterdev/subscriptions","organizations_url":"https://api.github.com/users/twitterdev/orgs","repos_url":"https://api.github.com/users/twitterdev/repos","events_url":"https://api.github.com/users/twitterdev/events{/privacy}","received_events_url":"https://api.github.com/users/twitterdev/received_events","type":"Organization","site_admin":false},"repo":{"id":40376391,"name":"twitter-ruby-ads-sdk","full_name":"twitterdev/twitter-ruby-ads-sdk","owner":{"login":"twitterdev","id":7451118,"avatar_url":"https://avatars.githubusercontent.com/u/7451118?v=3","gravatar_id":"","url":"https://api.github.com/users/twitterdev","html_url":"https://github.com/twitterdev","followers_url":"https://api.github.com/users/twitterdev/followers","following_url":"https://api.github.com/users/twitterdev/following{/other_user}","gists_url":"https://api.github.com/users/twitterdev/gists{/gist_id}","starred_url":"https://api.github.com/users/twitterdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitterdev/subscriptions","organizations_url":"https://api.github.com/users/twitterdev/orgs","repos_url":"https://api.github.com/users/twitterdev/repos","events_url":"https://api.github.com/users/twitterdev/events{/privacy}","received_events_url":"https://api.github.com/users/twitterdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk","description":"A Twitter supported and maintained Ads API SDK for Ruby.","fork":false,"url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk","forks_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/forks","keys_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/teams","hooks_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/hooks","issue_events_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/events","assignees_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/tags","blobs_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/languages","stargazers_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/stargazers","contributors_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/contributors","subscribers_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/subscribers","subscription_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/subscription","commits_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/merges","archive_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/downloads","issues_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/labels{/name}","releases_url":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/releases{/id}","created_at":"2015-08-07T19:03:02Z","updated_at":"2015-11-26T12:49:57Z","pushed_at":"2015-12-15T00:55:27Z","git_url":"git://github.com/twitterdev/twitter-ruby-ads-sdk.git","ssh_url":"git@github.com:twitterdev/twitter-ruby-ads-sdk.git","clone_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk.git","svn_url":"https://github.com/twitterdev/twitter-ruby-ads-sdk","homepage":"http://twitterdev.github.io/twitter-ruby-ads-sdk/","size":767,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":10,"forks":14,"open_issues":10,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64"},"html":{"href":"https://github.com/twitterdev/twitter-ruby-ads-sdk/pull/64"},"issue":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues/64"},"comments":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/twitterdev/twitter-ruby-ads-sdk/statuses/1c21267052efd26e165eafbb47ae89ec4560f63e"}}}}