{"action":"closed","number":211,"pull_request":{"url":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/211","id":43159378,"html_url":"https://github.com/jonathanchrisp/bwapi/pull/211","diff_url":"https://github.com/jonathanchrisp/bwapi/pull/211.diff","patch_url":"https://github.com/jonathanchrisp/bwapi/pull/211.patch","issue_url":"https://api.github.com/repos/jonathanchrisp/bwapi/issues/211","number":211,"state":"closed","locked":false,"title":"ENT-1454_Moving_clients_endpoints","user":{"login":"Vitor-Carvalho","id":10560461,"avatar_url":"https://avatars.githubusercontent.com/u/10560461?v=3","gravatar_id":"","url":"https://api.github.com/users/Vitor-Carvalho","html_url":"https://github.com/Vitor-Carvalho","followers_url":"https://api.github.com/users/Vitor-Carvalho/followers","following_url":"https://api.github.com/users/Vitor-Carvalho/following{/other_user}","gists_url":"https://api.github.com/users/Vitor-Carvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/Vitor-Carvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vitor-Carvalho/subscriptions","organizations_url":"https://api.github.com/users/Vitor-Carvalho/orgs","repos_url":"https://api.github.com/users/Vitor-Carvalho/repos","events_url":"https://api.github.com/users/Vitor-Carvalho/events{/privacy}","received_events_url":"https://api.github.com/users/Vitor-Carvalho/received_events","type":"User","site_admin":false},"body":"This PR will move the subclients endpoints from the module Admin to module Client\r\n\r\nrubocop:\r\n151 files inspected, no offenses detected\r\n\r\n[6] pry(main)> bw.client_sub_clients(44)\r\n=> {\"resultsTotal\"=>-1,\r\n \"resultsPage\"=>-1,\r\n \"resultsPageSize\"=>-1,\r\n \"results\"=>\r\n  [{\"id\"=>45,\r\n    \"name\"=>\"CL1\",\r\n    \"parentId\"=>44,\r\n    \"startDate\"=>\"2015-03-19T00:00:00.000+0000\",\r\n\r\n","created_at":"2015-08-24T10:18:01Z","updated_at":"2015-08-26T12:49:01Z","closed_at":"2015-08-26T12:49:01Z","merged_at":"2015-08-26T12:49:01Z","merge_commit_sha":"6322993b3c9fb67d3772267402b7b00a9e0d13f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/211/commits","review_comments_url":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/211/comments","review_comment_url":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonathanchrisp/bwapi/issues/211/comments","statuses_url":"https://api.github.com/repos/jonathanchrisp/bwapi/statuses/b7504ae29a9de1f9225253a8f88439bafe64b3a0","head":{"label":"Vitor-Carvalho:ENT-1454_Moving_clients_endpoints","ref":"ENT-1454_Moving_clients_endpoints","sha":"b7504ae29a9de1f9225253a8f88439bafe64b3a0","user":{"login":"Vitor-Carvalho","id":10560461,"avatar_url":"https://avatars.githubusercontent.com/u/10560461?v=3","gravatar_id":"","url":"https://api.github.com/users/Vitor-Carvalho","html_url":"https://github.com/Vitor-Carvalho","followers_url":"https://api.github.com/users/Vitor-Carvalho/followers","following_url":"https://api.github.com/users/Vitor-Carvalho/following{/other_user}","gists_url":"https://api.github.com/users/Vitor-Carvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/Vitor-Carvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vitor-Carvalho/subscriptions","organizations_url":"https://api.github.com/users/Vitor-Carvalho/orgs","repos_url":"https://api.github.com/users/Vitor-Carvalho/repos","events_url":"https://api.github.com/users/Vitor-Carvalho/events{/privacy}","received_events_url":"https://api.github.com/users/Vitor-Carvalho/received_events","type":"User","site_admin":false},"repo":{"id":35824359,"name":"bwapi","full_name":"Vitor-Carvalho/bwapi","owner":{"login":"Vitor-Carvalho","id":10560461,"avatar_url":"https://avatars.githubusercontent.com/u/10560461?v=3","gravatar_id":"","url":"https://api.github.com/users/Vitor-Carvalho","html_url":"https://github.com/Vitor-Carvalho","followers_url":"https://api.github.com/users/Vitor-Carvalho/followers","following_url":"https://api.github.com/users/Vitor-Carvalho/following{/other_user}","gists_url":"https://api.github.com/users/Vitor-Carvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/Vitor-Carvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vitor-Carvalho/subscriptions","organizations_url":"https://api.github.com/users/Vitor-Carvalho/orgs","repos_url":"https://api.github.com/users/Vitor-Carvalho/repos","events_url":"https://api.github.com/users/Vitor-Carvalho/events{/privacy}","received_events_url":"https://api.github.com/users/Vitor-Carvalho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vitor-Carvalho/bwapi","description":"A Ruby wrapper for the Brandwatch API","fork":true,"url":"https://api.github.com/repos/Vitor-Carvalho/bwapi","forks_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/forks","keys_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/teams","hooks_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/hooks","issue_events_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/issues/events{/number}","events_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/events","assignees_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/assignees{/user}","branches_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/branches{/branch}","tags_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/tags","blobs_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/statuses/{sha}","languages_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/languages","stargazers_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/stargazers","contributors_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/contributors","subscribers_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/subscribers","subscription_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/subscription","commits_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/contents/{+path}","compare_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/merges","archive_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/downloads","issues_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/issues{/number}","pulls_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/pulls{/number}","milestones_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/milestones{/number}","notifications_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/labels{/name}","releases_url":"https://api.github.com/repos/Vitor-Carvalho/bwapi/releases{/id}","created_at":"2015-05-18T14:59:24Z","updated_at":"2015-05-18T14:59:25Z","pushed_at":"2015-08-24T10:12:36Z","git_url":"git://github.com/Vitor-Carvalho/bwapi.git","ssh_url":"git@github.com:Vitor-Carvalho/bwapi.git","clone_url":"https://github.com/Vitor-Carvalho/bwapi.git","svn_url":"https://github.com/Vitor-Carvalho/bwapi","homepage":"","size":572,"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":"jonathanchrisp:staging","ref":"staging","sha":"986083d1c8589531b3004fea5256814373d7540d","user":{"login":"jonathanchrisp","id":406799,"avatar_url":"https://avatars.githubusercontent.com/u/406799?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanchrisp","html_url":"https://github.com/jonathanchrisp","followers_url":"https://api.github.com/users/jonathanchrisp/followers","following_url":"https://api.github.com/users/jonathanchrisp/following{/other_user}","gists_url":"https://api.github.com/users/jonathanchrisp/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanchrisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanchrisp/subscriptions","organizations_url":"https://api.github.com/users/jonathanchrisp/orgs","repos_url":"https://api.github.com/users/jonathanchrisp/repos","events_url":"https://api.github.com/users/jonathanchrisp/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanchrisp/received_events","type":"User","site_admin":false},"repo":{"id":10714290,"name":"bwapi","full_name":"jonathanchrisp/bwapi","owner":{"login":"jonathanchrisp","id":406799,"avatar_url":"https://avatars.githubusercontent.com/u/406799?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanchrisp","html_url":"https://github.com/jonathanchrisp","followers_url":"https://api.github.com/users/jonathanchrisp/followers","following_url":"https://api.github.com/users/jonathanchrisp/following{/other_user}","gists_url":"https://api.github.com/users/jonathanchrisp/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanchrisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanchrisp/subscriptions","organizations_url":"https://api.github.com/users/jonathanchrisp/orgs","repos_url":"https://api.github.com/users/jonathanchrisp/repos","events_url":"https://api.github.com/users/jonathanchrisp/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanchrisp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathanchrisp/bwapi","description":"A Ruby wrapper for the Brandwatch API","fork":false,"url":"https://api.github.com/repos/jonathanchrisp/bwapi","forks_url":"https://api.github.com/repos/jonathanchrisp/bwapi/forks","keys_url":"https://api.github.com/repos/jonathanchrisp/bwapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathanchrisp/bwapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathanchrisp/bwapi/teams","hooks_url":"https://api.github.com/repos/jonathanchrisp/bwapi/hooks","issue_events_url":"https://api.github.com/repos/jonathanchrisp/bwapi/issues/events{/number}","events_url":"https://api.github.com/repos/jonathanchrisp/bwapi/events","assignees_url":"https://api.github.com/repos/jonathanchrisp/bwapi/assignees{/user}","branches_url":"https://api.github.com/repos/jonathanchrisp/bwapi/branches{/branch}","tags_url":"https://api.github.com/repos/jonathanchrisp/bwapi/tags","blobs_url":"https://api.github.com/repos/jonathanchrisp/bwapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathanchrisp/bwapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathanchrisp/bwapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathanchrisp/bwapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathanchrisp/bwapi/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathanchrisp/bwapi/languages","stargazers_url":"https://api.github.com/repos/jonathanchrisp/bwapi/stargazers","contributors_url":"https://api.github.com/repos/jonathanchrisp/bwapi/contributors","subscribers_url":"https://api.github.com/repos/jonathanchrisp/bwapi/subscribers","subscription_url":"https://api.github.com/repos/jonathanchrisp/bwapi/subscription","commits_url":"https://api.github.com/repos/jonathanchrisp/bwapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathanchrisp/bwapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathanchrisp/bwapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathanchrisp/bwapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathanchrisp/bwapi/contents/{+path}","compare_url":"https://api.github.com/repos/jonathanchrisp/bwapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathanchrisp/bwapi/merges","archive_url":"https://api.github.com/repos/jonathanchrisp/bwapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathanchrisp/bwapi/downloads","issues_url":"https://api.github.com/repos/jonathanchrisp/bwapi/issues{/number}","pulls_url":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathanchrisp/bwapi/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathanchrisp/bwapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathanchrisp/bwapi/labels{/name}","releases_url":"https://api.github.com/repos/jonathanchrisp/bwapi/releases{/id}","created_at":"2013-06-16T01:43:28Z","updated_at":"2015-08-14T19:00:28Z","pushed_at":"2015-08-26T12:49:01Z","git_url":"git://github.com/jonathanchrisp/bwapi.git","ssh_url":"git@github.com:jonathanchrisp/bwapi.git","clone_url":"https://github.com/jonathanchrisp/bwapi.git","svn_url":"https://github.com/jonathanchrisp/bwapi","homepage":"","size":1816,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/211"},"html":{"href":"https://github.com/jonathanchrisp/bwapi/pull/211"},"issue":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/issues/211"},"comments":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/jonathanchrisp/bwapi/statuses/b7504ae29a9de1f9225253a8f88439bafe64b3a0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"benSlaughter","id":2961607,"avatar_url":"https://avatars.githubusercontent.com/u/2961607?v=3","gravatar_id":"","url":"https://api.github.com/users/benSlaughter","html_url":"https://github.com/benSlaughter","followers_url":"https://api.github.com/users/benSlaughter/followers","following_url":"https://api.github.com/users/benSlaughter/following{/other_user}","gists_url":"https://api.github.com/users/benSlaughter/gists{/gist_id}","starred_url":"https://api.github.com/users/benSlaughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benSlaughter/subscriptions","organizations_url":"https://api.github.com/users/benSlaughter/orgs","repos_url":"https://api.github.com/users/benSlaughter/repos","events_url":"https://api.github.com/users/benSlaughter/events{/privacy}","received_events_url":"https://api.github.com/users/benSlaughter/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":110,"deletions":112,"changed_files":4}}