{"action":"created","comment":{"url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/comments/45487187","id":45487187,"diff_hunk":"@@ -0,0 +1,50 @@\n+module Clc\n+  module Error\n+    # Custom error class\n+    class Error < StandardError; end\n+    # Raised when returns the HTTP status code 400\n+    class BadRequest < Error; end\n+    # Raised when returns the HTTP status code 401\n+    class Unauthorized < Error; end\n+    # Raised when returns the HTTP status code 403\n+    class Forbidden < Error; end;","path":"lib/clc/error.rb","position":10,"original_position":10,"commit_id":"ceb6353c4abcd1e86de50016a35e2f629dbe30af","original_commit_id":"ceb6353c4abcd1e86de50016a35e2f629dbe30af","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":"Do not use semicolons to terminate expressions.","created_at":"2015-11-20T16:25:41Z","updated_at":"2015-11-20T16:25:41Z","html_url":"https://github.com/clc-tmp/knife-clc/pull/11#discussion_r45487187","pull_request_url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/comments/45487187"},"html":{"href":"https://github.com/clc-tmp/knife-clc/pull/11#discussion_r45487187"},"pull_request":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11","id":51376798,"html_url":"https://github.com/clc-tmp/knife-clc/pull/11","diff_url":"https://github.com/clc-tmp/knife-clc/pull/11.diff","patch_url":"https://github.com/clc-tmp/knife-clc/pull/11.patch","issue_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues/11","number":11,"state":"open","locked":false,"title":"List and show datacenters","user":{"login":"kuntsevich","id":634755,"avatar_url":"https://avatars.githubusercontent.com/u/634755?v=3","gravatar_id":"","url":"https://api.github.com/users/kuntsevich","html_url":"https://github.com/kuntsevich","followers_url":"https://api.github.com/users/kuntsevich/followers","following_url":"https://api.github.com/users/kuntsevich/following{/other_user}","gists_url":"https://api.github.com/users/kuntsevich/gists{/gist_id}","starred_url":"https://api.github.com/users/kuntsevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuntsevich/subscriptions","organizations_url":"https://api.github.com/users/kuntsevich/orgs","repos_url":"https://api.github.com/users/kuntsevich/repos","events_url":"https://api.github.com/users/kuntsevich/events{/privacy}","received_events_url":"https://api.github.com/users/kuntsevich/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-20T16:25:33Z","updated_at":"2015-11-20T16:25:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0250fa3cec662bf6293c307cebd0ae0387a92ed7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11/commits","review_comments_url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11/comments","review_comment_url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues/11/comments","statuses_url":"https://api.github.com/repos/clc-tmp/knife-clc/statuses/ceb6353c4abcd1e86de50016a35e2f629dbe30af","head":{"label":"clc-tmp:list_and_show_datacenters","ref":"list_and_show_datacenters","sha":"ceb6353c4abcd1e86de50016a35e2f629dbe30af","user":{"login":"clc-tmp","id":15887954,"avatar_url":"https://avatars.githubusercontent.com/u/15887954?v=3","gravatar_id":"","url":"https://api.github.com/users/clc-tmp","html_url":"https://github.com/clc-tmp","followers_url":"https://api.github.com/users/clc-tmp/followers","following_url":"https://api.github.com/users/clc-tmp/following{/other_user}","gists_url":"https://api.github.com/users/clc-tmp/gists{/gist_id}","starred_url":"https://api.github.com/users/clc-tmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clc-tmp/subscriptions","organizations_url":"https://api.github.com/users/clc-tmp/orgs","repos_url":"https://api.github.com/users/clc-tmp/repos","events_url":"https://api.github.com/users/clc-tmp/events{/privacy}","received_events_url":"https://api.github.com/users/clc-tmp/received_events","type":"Organization","site_admin":false},"repo":{"id":46340050,"name":"knife-clc","full_name":"clc-tmp/knife-clc","owner":{"login":"clc-tmp","id":15887954,"avatar_url":"https://avatars.githubusercontent.com/u/15887954?v=3","gravatar_id":"","url":"https://api.github.com/users/clc-tmp","html_url":"https://github.com/clc-tmp","followers_url":"https://api.github.com/users/clc-tmp/followers","following_url":"https://api.github.com/users/clc-tmp/following{/other_user}","gists_url":"https://api.github.com/users/clc-tmp/gists{/gist_id}","starred_url":"https://api.github.com/users/clc-tmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clc-tmp/subscriptions","organizations_url":"https://api.github.com/users/clc-tmp/orgs","repos_url":"https://api.github.com/users/clc-tmp/repos","events_url":"https://api.github.com/users/clc-tmp/events{/privacy}","received_events_url":"https://api.github.com/users/clc-tmp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clc-tmp/knife-clc","description":"Knife plugin for CenturyLink Cloud","fork":false,"url":"https://api.github.com/repos/clc-tmp/knife-clc","forks_url":"https://api.github.com/repos/clc-tmp/knife-clc/forks","keys_url":"https://api.github.com/repos/clc-tmp/knife-clc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clc-tmp/knife-clc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clc-tmp/knife-clc/teams","hooks_url":"https://api.github.com/repos/clc-tmp/knife-clc/hooks","issue_events_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues/events{/number}","events_url":"https://api.github.com/repos/clc-tmp/knife-clc/events","assignees_url":"https://api.github.com/repos/clc-tmp/knife-clc/assignees{/user}","branches_url":"https://api.github.com/repos/clc-tmp/knife-clc/branches{/branch}","tags_url":"https://api.github.com/repos/clc-tmp/knife-clc/tags","blobs_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/refs{/sha}","trees_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clc-tmp/knife-clc/statuses/{sha}","languages_url":"https://api.github.com/repos/clc-tmp/knife-clc/languages","stargazers_url":"https://api.github.com/repos/clc-tmp/knife-clc/stargazers","contributors_url":"https://api.github.com/repos/clc-tmp/knife-clc/contributors","subscribers_url":"https://api.github.com/repos/clc-tmp/knife-clc/subscribers","subscription_url":"https://api.github.com/repos/clc-tmp/knife-clc/subscription","commits_url":"https://api.github.com/repos/clc-tmp/knife-clc/commits{/sha}","git_commits_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/commits{/sha}","comments_url":"https://api.github.com/repos/clc-tmp/knife-clc/comments{/number}","issue_comment_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues/comments{/number}","contents_url":"https://api.github.com/repos/clc-tmp/knife-clc/contents/{+path}","compare_url":"https://api.github.com/repos/clc-tmp/knife-clc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clc-tmp/knife-clc/merges","archive_url":"https://api.github.com/repos/clc-tmp/knife-clc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clc-tmp/knife-clc/downloads","issues_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues{/number}","pulls_url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls{/number}","milestones_url":"https://api.github.com/repos/clc-tmp/knife-clc/milestones{/number}","notifications_url":"https://api.github.com/repos/clc-tmp/knife-clc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clc-tmp/knife-clc/labels{/name}","releases_url":"https://api.github.com/repos/clc-tmp/knife-clc/releases{/id}","created_at":"2015-11-17T10:33:21Z","updated_at":"2015-11-17T11:17:08Z","pushed_at":"2015-11-20T16:25:33Z","git_url":"git://github.com/clc-tmp/knife-clc.git","ssh_url":"git@github.com:clc-tmp/knife-clc.git","clone_url":"https://github.com/clc-tmp/knife-clc.git","svn_url":"https://github.com/clc-tmp/knife-clc","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"clc-tmp:master","ref":"master","sha":"24e3a299b4f891072be3664409032334cf51a620","user":{"login":"clc-tmp","id":15887954,"avatar_url":"https://avatars.githubusercontent.com/u/15887954?v=3","gravatar_id":"","url":"https://api.github.com/users/clc-tmp","html_url":"https://github.com/clc-tmp","followers_url":"https://api.github.com/users/clc-tmp/followers","following_url":"https://api.github.com/users/clc-tmp/following{/other_user}","gists_url":"https://api.github.com/users/clc-tmp/gists{/gist_id}","starred_url":"https://api.github.com/users/clc-tmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clc-tmp/subscriptions","organizations_url":"https://api.github.com/users/clc-tmp/orgs","repos_url":"https://api.github.com/users/clc-tmp/repos","events_url":"https://api.github.com/users/clc-tmp/events{/privacy}","received_events_url":"https://api.github.com/users/clc-tmp/received_events","type":"Organization","site_admin":false},"repo":{"id":46340050,"name":"knife-clc","full_name":"clc-tmp/knife-clc","owner":{"login":"clc-tmp","id":15887954,"avatar_url":"https://avatars.githubusercontent.com/u/15887954?v=3","gravatar_id":"","url":"https://api.github.com/users/clc-tmp","html_url":"https://github.com/clc-tmp","followers_url":"https://api.github.com/users/clc-tmp/followers","following_url":"https://api.github.com/users/clc-tmp/following{/other_user}","gists_url":"https://api.github.com/users/clc-tmp/gists{/gist_id}","starred_url":"https://api.github.com/users/clc-tmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clc-tmp/subscriptions","organizations_url":"https://api.github.com/users/clc-tmp/orgs","repos_url":"https://api.github.com/users/clc-tmp/repos","events_url":"https://api.github.com/users/clc-tmp/events{/privacy}","received_events_url":"https://api.github.com/users/clc-tmp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clc-tmp/knife-clc","description":"Knife plugin for CenturyLink Cloud","fork":false,"url":"https://api.github.com/repos/clc-tmp/knife-clc","forks_url":"https://api.github.com/repos/clc-tmp/knife-clc/forks","keys_url":"https://api.github.com/repos/clc-tmp/knife-clc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clc-tmp/knife-clc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clc-tmp/knife-clc/teams","hooks_url":"https://api.github.com/repos/clc-tmp/knife-clc/hooks","issue_events_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues/events{/number}","events_url":"https://api.github.com/repos/clc-tmp/knife-clc/events","assignees_url":"https://api.github.com/repos/clc-tmp/knife-clc/assignees{/user}","branches_url":"https://api.github.com/repos/clc-tmp/knife-clc/branches{/branch}","tags_url":"https://api.github.com/repos/clc-tmp/knife-clc/tags","blobs_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/refs{/sha}","trees_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clc-tmp/knife-clc/statuses/{sha}","languages_url":"https://api.github.com/repos/clc-tmp/knife-clc/languages","stargazers_url":"https://api.github.com/repos/clc-tmp/knife-clc/stargazers","contributors_url":"https://api.github.com/repos/clc-tmp/knife-clc/contributors","subscribers_url":"https://api.github.com/repos/clc-tmp/knife-clc/subscribers","subscription_url":"https://api.github.com/repos/clc-tmp/knife-clc/subscription","commits_url":"https://api.github.com/repos/clc-tmp/knife-clc/commits{/sha}","git_commits_url":"https://api.github.com/repos/clc-tmp/knife-clc/git/commits{/sha}","comments_url":"https://api.github.com/repos/clc-tmp/knife-clc/comments{/number}","issue_comment_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues/comments{/number}","contents_url":"https://api.github.com/repos/clc-tmp/knife-clc/contents/{+path}","compare_url":"https://api.github.com/repos/clc-tmp/knife-clc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clc-tmp/knife-clc/merges","archive_url":"https://api.github.com/repos/clc-tmp/knife-clc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clc-tmp/knife-clc/downloads","issues_url":"https://api.github.com/repos/clc-tmp/knife-clc/issues{/number}","pulls_url":"https://api.github.com/repos/clc-tmp/knife-clc/pulls{/number}","milestones_url":"https://api.github.com/repos/clc-tmp/knife-clc/milestones{/number}","notifications_url":"https://api.github.com/repos/clc-tmp/knife-clc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clc-tmp/knife-clc/labels{/name}","releases_url":"https://api.github.com/repos/clc-tmp/knife-clc/releases{/id}","created_at":"2015-11-17T10:33:21Z","updated_at":"2015-11-17T11:17:08Z","pushed_at":"2015-11-20T16:25:33Z","git_url":"git://github.com/clc-tmp/knife-clc.git","ssh_url":"git@github.com:clc-tmp/knife-clc.git","clone_url":"https://github.com/clc-tmp/knife-clc.git","svn_url":"https://github.com/clc-tmp/knife-clc","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11"},"html":{"href":"https://github.com/clc-tmp/knife-clc/pull/11"},"issue":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/issues/11"},"comments":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/clc-tmp/knife-clc/statuses/ceb6353c4abcd1e86de50016a35e2f629dbe30af"}}}}