{"action":"created","comment":{"url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/comments/27103532","id":27103532,"diff_hunk":"@@ -206,9 +206,23 @@ def test_multiple_calls\n       fx.exchange_rate(:from => \"USD\", :to => \"EUR\")\n       fx.exchange_rate(:from => \"USD\", :to => \"EUR\", :on => \"2012-04-10\")\n       fx.exchange_rate(:from => \"USD\", :to => \"AUD\", :on => \"2012-05-10\")\n+","path":"test/rates_test.rb","position":4,"original_position":4,"commit_id":"b8016dfb97520e59e017dd82e3e5662ee26d2569","original_commit_id":"b8016dfb97520e59e017dd82e3e5662ee26d2569","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":"Extra empty line detected at block body end.","created_at":"2015-03-25T09:06:19Z","updated_at":"2015-03-25T09:06:19Z","html_url":"https://github.com/vlado/open_exchange_rates/pull/2#discussion_r27103532","pull_request_url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/comments/27103532"},"html":{"href":"https://github.com/vlado/open_exchange_rates/pull/2#discussion_r27103532"},"pull_request":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2","id":31903629,"html_url":"https://github.com/vlado/open_exchange_rates/pull/2","diff_url":"https://github.com/vlado/open_exchange_rates/pull/2.diff","patch_url":"https://github.com/vlado/open_exchange_rates/pull/2.patch","issue_url":"https://api.github.com/repos/vlado/open_exchange_rates/issues/2","number":2,"state":"open","locked":false,"title":"Raise RateNotFoundError when an incorrect code is given","user":{"login":"seanarnold","id":693929,"avatar_url":"https://avatars.githubusercontent.com/u/693929?v=3","gravatar_id":"","url":"https://api.github.com/users/seanarnold","html_url":"https://github.com/seanarnold","followers_url":"https://api.github.com/users/seanarnold/followers","following_url":"https://api.github.com/users/seanarnold/following{/other_user}","gists_url":"https://api.github.com/users/seanarnold/gists{/gist_id}","starred_url":"https://api.github.com/users/seanarnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanarnold/subscriptions","organizations_url":"https://api.github.com/users/seanarnold/orgs","repos_url":"https://api.github.com/users/seanarnold/repos","events_url":"https://api.github.com/users/seanarnold/events{/privacy}","received_events_url":"https://api.github.com/users/seanarnold/received_events","type":"User","site_admin":false},"body":"Hi there,\r\n\r\nFirst of all thanks for making this Gem. It saved me a lot of time today. \r\n\r\nI ran across this problem when I accidentally mistyped a currency code in my app. Unfortunately it would cause the Gem to blow up with errors like `TypeError: nil can't be coerced into Fixnum` etc.\r\n\r\nThis returns a `RateNotFoundError` when rate isn't found between the two given currencies, which allows the Gem user to add a `begin..rescue RateNotFoundError.. end` block to their code.\r\n\r\nCheers!","created_at":"2015-03-25T09:06:16Z","updated_at":"2015-03-25T09:06:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3d58caae3a6bbb680270fdb12b591f6d086a049","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2/commits","review_comments_url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2/comments","review_comment_url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vlado/open_exchange_rates/issues/2/comments","statuses_url":"https://api.github.com/repos/vlado/open_exchange_rates/statuses/b8016dfb97520e59e017dd82e3e5662ee26d2569","head":{"label":"seanarnold:error_handling","ref":"error_handling","sha":"b8016dfb97520e59e017dd82e3e5662ee26d2569","user":{"login":"seanarnold","id":693929,"avatar_url":"https://avatars.githubusercontent.com/u/693929?v=3","gravatar_id":"","url":"https://api.github.com/users/seanarnold","html_url":"https://github.com/seanarnold","followers_url":"https://api.github.com/users/seanarnold/followers","following_url":"https://api.github.com/users/seanarnold/following{/other_user}","gists_url":"https://api.github.com/users/seanarnold/gists{/gist_id}","starred_url":"https://api.github.com/users/seanarnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanarnold/subscriptions","organizations_url":"https://api.github.com/users/seanarnold/orgs","repos_url":"https://api.github.com/users/seanarnold/repos","events_url":"https://api.github.com/users/seanarnold/events{/privacy}","received_events_url":"https://api.github.com/users/seanarnold/received_events","type":"User","site_admin":false},"repo":{"id":32842063,"name":"open_exchange_rates","full_name":"seanarnold/open_exchange_rates","owner":{"login":"seanarnold","id":693929,"avatar_url":"https://avatars.githubusercontent.com/u/693929?v=3","gravatar_id":"","url":"https://api.github.com/users/seanarnold","html_url":"https://github.com/seanarnold","followers_url":"https://api.github.com/users/seanarnold/followers","following_url":"https://api.github.com/users/seanarnold/following{/other_user}","gists_url":"https://api.github.com/users/seanarnold/gists{/gist_id}","starred_url":"https://api.github.com/users/seanarnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanarnold/subscriptions","organizations_url":"https://api.github.com/users/seanarnold/orgs","repos_url":"https://api.github.com/users/seanarnold/repos","events_url":"https://api.github.com/users/seanarnold/events{/privacy}","received_events_url":"https://api.github.com/users/seanarnold/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanarnold/open_exchange_rates","description":"Ruby gem for currency conversion based on Open Exchange Rates API","fork":true,"url":"https://api.github.com/repos/seanarnold/open_exchange_rates","forks_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/forks","keys_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/teams","hooks_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/hooks","issue_events_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/issues/events{/number}","events_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/events","assignees_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/assignees{/user}","branches_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/branches{/branch}","tags_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/tags","blobs_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/statuses/{sha}","languages_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/languages","stargazers_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/stargazers","contributors_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/contributors","subscribers_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/subscribers","subscription_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/subscription","commits_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/contents/{+path}","compare_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/merges","archive_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/downloads","issues_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/issues{/number}","pulls_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/pulls{/number}","milestones_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/milestones{/number}","notifications_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/labels{/name}","releases_url":"https://api.github.com/repos/seanarnold/open_exchange_rates/releases{/id}","created_at":"2015-03-25T04:11:53Z","updated_at":"2015-03-25T04:11:53Z","pushed_at":"2015-03-25T09:02:46Z","git_url":"git://github.com/seanarnold/open_exchange_rates.git","ssh_url":"git@github.com:seanarnold/open_exchange_rates.git","clone_url":"https://github.com/seanarnold/open_exchange_rates.git","svn_url":"https://github.com/seanarnold/open_exchange_rates","homepage":"","size":104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"vlado:master","ref":"master","sha":"84315bd9e87d87bc5f1eed9396e40ef089b5b184","user":{"login":"vlado","id":5148,"avatar_url":"https://avatars.githubusercontent.com/u/5148?v=3","gravatar_id":"","url":"https://api.github.com/users/vlado","html_url":"https://github.com/vlado","followers_url":"https://api.github.com/users/vlado/followers","following_url":"https://api.github.com/users/vlado/following{/other_user}","gists_url":"https://api.github.com/users/vlado/gists{/gist_id}","starred_url":"https://api.github.com/users/vlado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlado/subscriptions","organizations_url":"https://api.github.com/users/vlado/orgs","repos_url":"https://api.github.com/users/vlado/repos","events_url":"https://api.github.com/users/vlado/events{/privacy}","received_events_url":"https://api.github.com/users/vlado/received_events","type":"User","site_admin":false},"repo":{"id":4508594,"name":"open_exchange_rates","full_name":"vlado/open_exchange_rates","owner":{"login":"vlado","id":5148,"avatar_url":"https://avatars.githubusercontent.com/u/5148?v=3","gravatar_id":"","url":"https://api.github.com/users/vlado","html_url":"https://github.com/vlado","followers_url":"https://api.github.com/users/vlado/followers","following_url":"https://api.github.com/users/vlado/following{/other_user}","gists_url":"https://api.github.com/users/vlado/gists{/gist_id}","starred_url":"https://api.github.com/users/vlado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlado/subscriptions","organizations_url":"https://api.github.com/users/vlado/orgs","repos_url":"https://api.github.com/users/vlado/repos","events_url":"https://api.github.com/users/vlado/events{/privacy}","received_events_url":"https://api.github.com/users/vlado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlado/open_exchange_rates","description":"Ruby gem for currency conversion based on Open Exchange Rates API","fork":false,"url":"https://api.github.com/repos/vlado/open_exchange_rates","forks_url":"https://api.github.com/repos/vlado/open_exchange_rates/forks","keys_url":"https://api.github.com/repos/vlado/open_exchange_rates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlado/open_exchange_rates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlado/open_exchange_rates/teams","hooks_url":"https://api.github.com/repos/vlado/open_exchange_rates/hooks","issue_events_url":"https://api.github.com/repos/vlado/open_exchange_rates/issues/events{/number}","events_url":"https://api.github.com/repos/vlado/open_exchange_rates/events","assignees_url":"https://api.github.com/repos/vlado/open_exchange_rates/assignees{/user}","branches_url":"https://api.github.com/repos/vlado/open_exchange_rates/branches{/branch}","tags_url":"https://api.github.com/repos/vlado/open_exchange_rates/tags","blobs_url":"https://api.github.com/repos/vlado/open_exchange_rates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlado/open_exchange_rates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlado/open_exchange_rates/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlado/open_exchange_rates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlado/open_exchange_rates/statuses/{sha}","languages_url":"https://api.github.com/repos/vlado/open_exchange_rates/languages","stargazers_url":"https://api.github.com/repos/vlado/open_exchange_rates/stargazers","contributors_url":"https://api.github.com/repos/vlado/open_exchange_rates/contributors","subscribers_url":"https://api.github.com/repos/vlado/open_exchange_rates/subscribers","subscription_url":"https://api.github.com/repos/vlado/open_exchange_rates/subscription","commits_url":"https://api.github.com/repos/vlado/open_exchange_rates/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlado/open_exchange_rates/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlado/open_exchange_rates/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlado/open_exchange_rates/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlado/open_exchange_rates/contents/{+path}","compare_url":"https://api.github.com/repos/vlado/open_exchange_rates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlado/open_exchange_rates/merges","archive_url":"https://api.github.com/repos/vlado/open_exchange_rates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlado/open_exchange_rates/downloads","issues_url":"https://api.github.com/repos/vlado/open_exchange_rates/issues{/number}","pulls_url":"https://api.github.com/repos/vlado/open_exchange_rates/pulls{/number}","milestones_url":"https://api.github.com/repos/vlado/open_exchange_rates/milestones{/number}","notifications_url":"https://api.github.com/repos/vlado/open_exchange_rates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlado/open_exchange_rates/labels{/name}","releases_url":"https://api.github.com/repos/vlado/open_exchange_rates/releases{/id}","created_at":"2012-05-31T14:19:44Z","updated_at":"2015-02-13T20:24:54Z","pushed_at":"2015-03-25T09:06:17Z","git_url":"git://github.com/vlado/open_exchange_rates.git","ssh_url":"git@github.com:vlado/open_exchange_rates.git","clone_url":"https://github.com/vlado/open_exchange_rates.git","svn_url":"https://github.com/vlado/open_exchange_rates","homepage":"","size":139,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2"},"html":{"href":"https://github.com/vlado/open_exchange_rates/pull/2"},"issue":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/issues/2"},"comments":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/vlado/open_exchange_rates/statuses/b8016dfb97520e59e017dd82e3e5662ee26d2569"}}}}