{"action":"created","comment":{"url":"https://api.github.com/repos/thibaudgg/video_info/pulls/comments/40902060","id":40902060,"diff_hunk":"@@ -74,6 +74,14 @@ def _clean_options(options)\n     end\n \n     def _set_data_from_api(api_url = _api_url)\n+      begin","path":"lib/video_info/provider.rb","position":4,"original_position":4,"commit_id":"07dbe613d1b883b2ad82ccd565a5248238e0c8fd","original_commit_id":"07dbe613d1b883b2ad82ccd565a5248238e0c8fd","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":"Redundant `begin` block detected.","created_at":"2015-10-01T11:11:04Z","updated_at":"2015-10-01T11:11:04Z","html_url":"https://github.com/thibaudgg/video_info/pull/109#discussion_r40902060","pull_request_url":"https://api.github.com/repos/thibaudgg/video_info/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/thibaudgg/video_info/pulls/comments/40902060"},"html":{"href":"https://github.com/thibaudgg/video_info/pull/109#discussion_r40902060"},"pull_request":{"href":"https://api.github.com/repos/thibaudgg/video_info/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/thibaudgg/video_info/pulls/109","id":46476098,"html_url":"https://github.com/thibaudgg/video_info/pull/109","diff_url":"https://github.com/thibaudgg/video_info/pull/109.diff","patch_url":"https://github.com/thibaudgg/video_info/pull/109.patch","issue_url":"https://api.github.com/repos/thibaudgg/video_info/issues/109","number":109,"state":"open","locked":false,"title":"Custom exceptions","user":{"login":"0mega","id":519615,"avatar_url":"https://avatars.githubusercontent.com/u/519615?v=3","gravatar_id":"","url":"https://api.github.com/users/0mega","html_url":"https://github.com/0mega","followers_url":"https://api.github.com/users/0mega/followers","following_url":"https://api.github.com/users/0mega/following{/other_user}","gists_url":"https://api.github.com/users/0mega/gists{/gist_id}","starred_url":"https://api.github.com/users/0mega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0mega/subscriptions","organizations_url":"https://api.github.com/users/0mega/orgs","repos_url":"https://api.github.com/users/0mega/repos","events_url":"https://api.github.com/users/0mega/events{/privacy}","received_events_url":"https://api.github.com/users/0mega/received_events","type":"User","site_admin":false},"body":"Implements custom VideoInfo HTTP exception to be thrown when http errors are caught during download of video details","created_at":"2015-10-01T01:17:23Z","updated_at":"2015-10-01T11:11:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b34e7bb19d62791382df20360955b66cd9d30d9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thibaudgg/video_info/pulls/109/commits","review_comments_url":"https://api.github.com/repos/thibaudgg/video_info/pulls/109/comments","review_comment_url":"https://api.github.com/repos/thibaudgg/video_info/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thibaudgg/video_info/issues/109/comments","statuses_url":"https://api.github.com/repos/thibaudgg/video_info/statuses/07dbe613d1b883b2ad82ccd565a5248238e0c8fd","head":{"label":"0mega:custom_exceptions","ref":"custom_exceptions","sha":"07dbe613d1b883b2ad82ccd565a5248238e0c8fd","user":{"login":"0mega","id":519615,"avatar_url":"https://avatars.githubusercontent.com/u/519615?v=3","gravatar_id":"","url":"https://api.github.com/users/0mega","html_url":"https://github.com/0mega","followers_url":"https://api.github.com/users/0mega/followers","following_url":"https://api.github.com/users/0mega/following{/other_user}","gists_url":"https://api.github.com/users/0mega/gists{/gist_id}","starred_url":"https://api.github.com/users/0mega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0mega/subscriptions","organizations_url":"https://api.github.com/users/0mega/orgs","repos_url":"https://api.github.com/users/0mega/repos","events_url":"https://api.github.com/users/0mega/events{/privacy}","received_events_url":"https://api.github.com/users/0mega/received_events","type":"User","site_admin":false},"repo":{"id":26511903,"name":"video_info","full_name":"0mega/video_info","owner":{"login":"0mega","id":519615,"avatar_url":"https://avatars.githubusercontent.com/u/519615?v=3","gravatar_id":"","url":"https://api.github.com/users/0mega","html_url":"https://github.com/0mega","followers_url":"https://api.github.com/users/0mega/followers","following_url":"https://api.github.com/users/0mega/following{/other_user}","gists_url":"https://api.github.com/users/0mega/gists{/gist_id}","starred_url":"https://api.github.com/users/0mega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0mega/subscriptions","organizations_url":"https://api.github.com/users/0mega/orgs","repos_url":"https://api.github.com/users/0mega/repos","events_url":"https://api.github.com/users/0mega/events{/privacy}","received_events_url":"https://api.github.com/users/0mega/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0mega/video_info","description":"Get video info from YouTube, Vimeo and VK url:","fork":true,"url":"https://api.github.com/repos/0mega/video_info","forks_url":"https://api.github.com/repos/0mega/video_info/forks","keys_url":"https://api.github.com/repos/0mega/video_info/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0mega/video_info/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0mega/video_info/teams","hooks_url":"https://api.github.com/repos/0mega/video_info/hooks","issue_events_url":"https://api.github.com/repos/0mega/video_info/issues/events{/number}","events_url":"https://api.github.com/repos/0mega/video_info/events","assignees_url":"https://api.github.com/repos/0mega/video_info/assignees{/user}","branches_url":"https://api.github.com/repos/0mega/video_info/branches{/branch}","tags_url":"https://api.github.com/repos/0mega/video_info/tags","blobs_url":"https://api.github.com/repos/0mega/video_info/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0mega/video_info/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0mega/video_info/git/refs{/sha}","trees_url":"https://api.github.com/repos/0mega/video_info/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0mega/video_info/statuses/{sha}","languages_url":"https://api.github.com/repos/0mega/video_info/languages","stargazers_url":"https://api.github.com/repos/0mega/video_info/stargazers","contributors_url":"https://api.github.com/repos/0mega/video_info/contributors","subscribers_url":"https://api.github.com/repos/0mega/video_info/subscribers","subscription_url":"https://api.github.com/repos/0mega/video_info/subscription","commits_url":"https://api.github.com/repos/0mega/video_info/commits{/sha}","git_commits_url":"https://api.github.com/repos/0mega/video_info/git/commits{/sha}","comments_url":"https://api.github.com/repos/0mega/video_info/comments{/number}","issue_comment_url":"https://api.github.com/repos/0mega/video_info/issues/comments{/number}","contents_url":"https://api.github.com/repos/0mega/video_info/contents/{+path}","compare_url":"https://api.github.com/repos/0mega/video_info/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0mega/video_info/merges","archive_url":"https://api.github.com/repos/0mega/video_info/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0mega/video_info/downloads","issues_url":"https://api.github.com/repos/0mega/video_info/issues{/number}","pulls_url":"https://api.github.com/repos/0mega/video_info/pulls{/number}","milestones_url":"https://api.github.com/repos/0mega/video_info/milestones{/number}","notifications_url":"https://api.github.com/repos/0mega/video_info/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0mega/video_info/labels{/name}","releases_url":"https://api.github.com/repos/0mega/video_info/releases{/id}","created_at":"2014-11-12T00:35:22Z","updated_at":"2015-09-03T13:51:30Z","pushed_at":"2015-10-01T11:10:54Z","git_url":"git://github.com/0mega/video_info.git","ssh_url":"git@github.com:0mega/video_info.git","clone_url":"https://github.com/0mega/video_info.git","svn_url":"https://github.com/0mega/video_info","homepage":"https://rubygems.org/gems/video_info","size":1985,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thibaudgg:master","ref":"master","sha":"babd2f365581dc3e942eed383cd8d01a0c392d7a","user":{"login":"thibaudgg","id":1322,"avatar_url":"https://avatars.githubusercontent.com/u/1322?v=3","gravatar_id":"","url":"https://api.github.com/users/thibaudgg","html_url":"https://github.com/thibaudgg","followers_url":"https://api.github.com/users/thibaudgg/followers","following_url":"https://api.github.com/users/thibaudgg/following{/other_user}","gists_url":"https://api.github.com/users/thibaudgg/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudgg/subscriptions","organizations_url":"https://api.github.com/users/thibaudgg/orgs","repos_url":"https://api.github.com/users/thibaudgg/repos","events_url":"https://api.github.com/users/thibaudgg/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudgg/received_events","type":"User","site_admin":false},"repo":{"id":81634,"name":"video_info","full_name":"thibaudgg/video_info","owner":{"login":"thibaudgg","id":1322,"avatar_url":"https://avatars.githubusercontent.com/u/1322?v=3","gravatar_id":"","url":"https://api.github.com/users/thibaudgg","html_url":"https://github.com/thibaudgg","followers_url":"https://api.github.com/users/thibaudgg/followers","following_url":"https://api.github.com/users/thibaudgg/following{/other_user}","gists_url":"https://api.github.com/users/thibaudgg/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudgg/subscriptions","organizations_url":"https://api.github.com/users/thibaudgg/orgs","repos_url":"https://api.github.com/users/thibaudgg/repos","events_url":"https://api.github.com/users/thibaudgg/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudgg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thibaudgg/video_info","description":"Get video info from Dailymotion, VK, Vimeo, Wistia and YouTube url.","fork":false,"url":"https://api.github.com/repos/thibaudgg/video_info","forks_url":"https://api.github.com/repos/thibaudgg/video_info/forks","keys_url":"https://api.github.com/repos/thibaudgg/video_info/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thibaudgg/video_info/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thibaudgg/video_info/teams","hooks_url":"https://api.github.com/repos/thibaudgg/video_info/hooks","issue_events_url":"https://api.github.com/repos/thibaudgg/video_info/issues/events{/number}","events_url":"https://api.github.com/repos/thibaudgg/video_info/events","assignees_url":"https://api.github.com/repos/thibaudgg/video_info/assignees{/user}","branches_url":"https://api.github.com/repos/thibaudgg/video_info/branches{/branch}","tags_url":"https://api.github.com/repos/thibaudgg/video_info/tags","blobs_url":"https://api.github.com/repos/thibaudgg/video_info/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thibaudgg/video_info/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thibaudgg/video_info/git/refs{/sha}","trees_url":"https://api.github.com/repos/thibaudgg/video_info/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thibaudgg/video_info/statuses/{sha}","languages_url":"https://api.github.com/repos/thibaudgg/video_info/languages","stargazers_url":"https://api.github.com/repos/thibaudgg/video_info/stargazers","contributors_url":"https://api.github.com/repos/thibaudgg/video_info/contributors","subscribers_url":"https://api.github.com/repos/thibaudgg/video_info/subscribers","subscription_url":"https://api.github.com/repos/thibaudgg/video_info/subscription","commits_url":"https://api.github.com/repos/thibaudgg/video_info/commits{/sha}","git_commits_url":"https://api.github.com/repos/thibaudgg/video_info/git/commits{/sha}","comments_url":"https://api.github.com/repos/thibaudgg/video_info/comments{/number}","issue_comment_url":"https://api.github.com/repos/thibaudgg/video_info/issues/comments{/number}","contents_url":"https://api.github.com/repos/thibaudgg/video_info/contents/{+path}","compare_url":"https://api.github.com/repos/thibaudgg/video_info/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thibaudgg/video_info/merges","archive_url":"https://api.github.com/repos/thibaudgg/video_info/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thibaudgg/video_info/downloads","issues_url":"https://api.github.com/repos/thibaudgg/video_info/issues{/number}","pulls_url":"https://api.github.com/repos/thibaudgg/video_info/pulls{/number}","milestones_url":"https://api.github.com/repos/thibaudgg/video_info/milestones{/number}","notifications_url":"https://api.github.com/repos/thibaudgg/video_info/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thibaudgg/video_info/labels{/name}","releases_url":"https://api.github.com/repos/thibaudgg/video_info/releases{/id}","created_at":"2008-11-27T09:04:58Z","updated_at":"2015-09-25T17:50:15Z","pushed_at":"2015-10-01T11:10:54Z","git_url":"git://github.com/thibaudgg/video_info.git","ssh_url":"git@github.com:thibaudgg/video_info.git","clone_url":"https://github.com/thibaudgg/video_info.git","svn_url":"https://github.com/thibaudgg/video_info","homepage":"https://rubygems.org/gems/video_info","size":4449,"stargazers_count":205,"watchers_count":205,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":10,"forks":82,"open_issues":10,"watchers":205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thibaudgg/video_info/pulls/109"},"html":{"href":"https://github.com/thibaudgg/video_info/pull/109"},"issue":{"href":"https://api.github.com/repos/thibaudgg/video_info/issues/109"},"comments":{"href":"https://api.github.com/repos/thibaudgg/video_info/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/thibaudgg/video_info/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/thibaudgg/video_info/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thibaudgg/video_info/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/thibaudgg/video_info/statuses/07dbe613d1b883b2ad82ccd565a5248238e0c8fd"}}}}