{"action":"created","comment":{"url":"https://api.github.com/repos/Privy/fixer_currency/pulls/comments/199476052","pull_request_review_id":133598429,"id":199476052,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTQ3NjA1Mg==","diff_hunk":"@@ -0,0 +1,143 @@\n+require File.expand_path(File.dirname(__FILE__) + '/spec_helper')\n+\n+require 'money'\n+require 'money/bank/fixer_currency'\n+\n+describe Money::Bank::FixerCurrency do\n+  before :each do\n+    @bank = Money::Bank::FixerCurrency.new\n+    @bank.access_key = '123'","path":"spec/fixer_currency_with_json_spec.rb","position":9,"original_position":9,"commit_id":"bddd2761eb48dde3a6b755a511a945699ed48afa","original_commit_id":"bddd2761eb48dde3a6b755a511a945699ed48afa","user":{"login":"pcai","id":222655,"node_id":"MDQ6VXNlcjIyMjY1NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/222655?v=4","gravatar_id":"","url":"https://api.github.com/users/pcai","html_url":"https://github.com/pcai","followers_url":"https://api.github.com/users/pcai/followers","following_url":"https://api.github.com/users/pcai/following{/other_user}","gists_url":"https://api.github.com/users/pcai/gists{/gist_id}","starred_url":"https://api.github.com/users/pcai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcai/subscriptions","organizations_url":"https://api.github.com/users/pcai/orgs","repos_url":"https://api.github.com/users/pcai/repos","events_url":"https://api.github.com/users/pcai/events{/privacy}","received_events_url":"https://api.github.com/users/pcai/received_events","type":"User","site_admin":false},"body":"can this be passed in as a constructor argument for convenience? or is this a limitation of the way it integrates with the money gem?","created_at":"2018-07-02T12:13:56Z","updated_at":"2018-07-02T12:17:42Z","html_url":"https://github.com/Privy/fixer_currency/pull/1#discussion_r199476052","pull_request_url":"https://api.github.com/repos/Privy/fixer_currency/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Privy/fixer_currency/pulls/comments/199476052"},"html":{"href":"https://github.com/Privy/fixer_currency/pull/1#discussion_r199476052"},"pull_request":{"href":"https://api.github.com/repos/Privy/fixer_currency/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Privy/fixer_currency/pulls/1","id":198421851,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDIxODUx","html_url":"https://github.com/Privy/fixer_currency/pull/1","diff_url":"https://github.com/Privy/fixer_currency/pull/1.diff","patch_url":"https://github.com/Privy/fixer_currency/pull/1.patch","issue_url":"https://api.github.com/repos/Privy/fixer_currency/issues/1","number":1,"state":"open","locked":false,"title":"use fixer.io for exchange rates","user":{"login":"emily-wilson","id":13021334,"node_id":"MDQ6VXNlcjEzMDIxMzM0","avatar_url":"https://avatars1.githubusercontent.com/u/13021334?v=4","gravatar_id":"","url":"https://api.github.com/users/emily-wilson","html_url":"https://github.com/emily-wilson","followers_url":"https://api.github.com/users/emily-wilson/followers","following_url":"https://api.github.com/users/emily-wilson/following{/other_user}","gists_url":"https://api.github.com/users/emily-wilson/gists{/gist_id}","starred_url":"https://api.github.com/users/emily-wilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emily-wilson/subscriptions","organizations_url":"https://api.github.com/users/emily-wilson/orgs","repos_url":"https://api.github.com/users/emily-wilson/repos","events_url":"https://api.github.com/users/emily-wilson/events{/privacy}","received_events_url":"https://api.github.com/users/emily-wilson/received_events","type":"User","site_admin":false},"body":"This replaces the open-exchange-rates-bank gem and uses the google-currency gem from before but modified so that it pulls data from fixer.io.","created_at":"2018-06-29T20:53:06Z","updated_at":"2018-07-02T12:17:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15e7db62ed667419aa4babda134945ec91d44208","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jjohnson","id":1223727,"node_id":"MDQ6VXNlcjEyMjM3Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1223727?v=4","gravatar_id":"","url":"https://api.github.com/users/jjohnson","html_url":"https://github.com/jjohnson","followers_url":"https://api.github.com/users/jjohnson/followers","following_url":"https://api.github.com/users/jjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjohnson/subscriptions","organizations_url":"https://api.github.com/users/jjohnson/orgs","repos_url":"https://api.github.com/users/jjohnson/repos","events_url":"https://api.github.com/users/jjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jjohnson/received_events","type":"User","site_admin":false},{"login":"johnc219","id":10237004,"node_id":"MDQ6VXNlcjEwMjM3MDA0","avatar_url":"https://avatars2.githubusercontent.com/u/10237004?v=4","gravatar_id":"","url":"https://api.github.com/users/johnc219","html_url":"https://github.com/johnc219","followers_url":"https://api.github.com/users/johnc219/followers","following_url":"https://api.github.com/users/johnc219/following{/other_user}","gists_url":"https://api.github.com/users/johnc219/gists{/gist_id}","starred_url":"https://api.github.com/users/johnc219/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnc219/subscriptions","organizations_url":"https://api.github.com/users/johnc219/orgs","repos_url":"https://api.github.com/users/johnc219/repos","events_url":"https://api.github.com/users/johnc219/events{/privacy}","received_events_url":"https://api.github.com/users/johnc219/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Privy/fixer_currency/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Privy/fixer_currency/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Privy/fixer_currency/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Privy/fixer_currency/issues/1/comments","statuses_url":"https://api.github.com/repos/Privy/fixer_currency/statuses/bddd2761eb48dde3a6b755a511a945699ed48afa","head":{"label":"Privy:feature/fixer-currency-gem","ref":"feature/fixer-currency-gem","sha":"bddd2761eb48dde3a6b755a511a945699ed48afa","user":{"login":"Privy","id":1001843,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE4NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1001843?v=4","gravatar_id":"","url":"https://api.github.com/users/Privy","html_url":"https://github.com/Privy","followers_url":"https://api.github.com/users/Privy/followers","following_url":"https://api.github.com/users/Privy/following{/other_user}","gists_url":"https://api.github.com/users/Privy/gists{/gist_id}","starred_url":"https://api.github.com/users/Privy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Privy/subscriptions","organizations_url":"https://api.github.com/users/Privy/orgs","repos_url":"https://api.github.com/users/Privy/repos","events_url":"https://api.github.com/users/Privy/events{/privacy}","received_events_url":"https://api.github.com/users/Privy/received_events","type":"Organization","site_admin":false},"repo":{"id":139167128,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNjcxMjg=","name":"fixer_currency","full_name":"Privy/fixer_currency","owner":{"login":"Privy","id":1001843,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE4NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1001843?v=4","gravatar_id":"","url":"https://api.github.com/users/Privy","html_url":"https://github.com/Privy","followers_url":"https://api.github.com/users/Privy/followers","following_url":"https://api.github.com/users/Privy/following{/other_user}","gists_url":"https://api.github.com/users/Privy/gists{/gist_id}","starred_url":"https://api.github.com/users/Privy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Privy/subscriptions","organizations_url":"https://api.github.com/users/Privy/orgs","repos_url":"https://api.github.com/users/Privy/repos","events_url":"https://api.github.com/users/Privy/events{/privacy}","received_events_url":"https://api.github.com/users/Privy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Privy/fixer_currency","description":"Ruby Money::Bank interface for the Google Currency exchange data","fork":true,"url":"https://api.github.com/repos/Privy/fixer_currency","forks_url":"https://api.github.com/repos/Privy/fixer_currency/forks","keys_url":"https://api.github.com/repos/Privy/fixer_currency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Privy/fixer_currency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Privy/fixer_currency/teams","hooks_url":"https://api.github.com/repos/Privy/fixer_currency/hooks","issue_events_url":"https://api.github.com/repos/Privy/fixer_currency/issues/events{/number}","events_url":"https://api.github.com/repos/Privy/fixer_currency/events","assignees_url":"https://api.github.com/repos/Privy/fixer_currency/assignees{/user}","branches_url":"https://api.github.com/repos/Privy/fixer_currency/branches{/branch}","tags_url":"https://api.github.com/repos/Privy/fixer_currency/tags","blobs_url":"https://api.github.com/repos/Privy/fixer_currency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Privy/fixer_currency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Privy/fixer_currency/git/refs{/sha}","trees_url":"https://api.github.com/repos/Privy/fixer_currency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Privy/fixer_currency/statuses/{sha}","languages_url":"https://api.github.com/repos/Privy/fixer_currency/languages","stargazers_url":"https://api.github.com/repos/Privy/fixer_currency/stargazers","contributors_url":"https://api.github.com/repos/Privy/fixer_currency/contributors","subscribers_url":"https://api.github.com/repos/Privy/fixer_currency/subscribers","subscription_url":"https://api.github.com/repos/Privy/fixer_currency/subscription","commits_url":"https://api.github.com/repos/Privy/fixer_currency/commits{/sha}","git_commits_url":"https://api.github.com/repos/Privy/fixer_currency/git/commits{/sha}","comments_url":"https://api.github.com/repos/Privy/fixer_currency/comments{/number}","issue_comment_url":"https://api.github.com/repos/Privy/fixer_currency/issues/comments{/number}","contents_url":"https://api.github.com/repos/Privy/fixer_currency/contents/{+path}","compare_url":"https://api.github.com/repos/Privy/fixer_currency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Privy/fixer_currency/merges","archive_url":"https://api.github.com/repos/Privy/fixer_currency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Privy/fixer_currency/downloads","issues_url":"https://api.github.com/repos/Privy/fixer_currency/issues{/number}","pulls_url":"https://api.github.com/repos/Privy/fixer_currency/pulls{/number}","milestones_url":"https://api.github.com/repos/Privy/fixer_currency/milestones{/number}","notifications_url":"https://api.github.com/repos/Privy/fixer_currency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Privy/fixer_currency/labels{/name}","releases_url":"https://api.github.com/repos/Privy/fixer_currency/releases{/id}","deployments_url":"https://api.github.com/repos/Privy/fixer_currency/deployments","created_at":"2018-06-29T15:36:38Z","updated_at":"2018-06-29T15:38:31Z","pushed_at":"2018-06-29T20:53:07Z","git_url":"git://github.com/Privy/fixer_currency.git","ssh_url":"git@github.com:Privy/fixer_currency.git","clone_url":"https://github.com/Privy/fixer_currency.git","svn_url":"https://github.com/Privy/fixer_currency","homepage":"http://rubymoney.github.com/google_currency","size":199,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Privy:master","ref":"master","sha":"8046ba4f2b2bd7fbd27a690cd6d2f568b30bd2bb","user":{"login":"Privy","id":1001843,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE4NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1001843?v=4","gravatar_id":"","url":"https://api.github.com/users/Privy","html_url":"https://github.com/Privy","followers_url":"https://api.github.com/users/Privy/followers","following_url":"https://api.github.com/users/Privy/following{/other_user}","gists_url":"https://api.github.com/users/Privy/gists{/gist_id}","starred_url":"https://api.github.com/users/Privy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Privy/subscriptions","organizations_url":"https://api.github.com/users/Privy/orgs","repos_url":"https://api.github.com/users/Privy/repos","events_url":"https://api.github.com/users/Privy/events{/privacy}","received_events_url":"https://api.github.com/users/Privy/received_events","type":"Organization","site_admin":false},"repo":{"id":139167128,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNjcxMjg=","name":"fixer_currency","full_name":"Privy/fixer_currency","owner":{"login":"Privy","id":1001843,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE4NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1001843?v=4","gravatar_id":"","url":"https://api.github.com/users/Privy","html_url":"https://github.com/Privy","followers_url":"https://api.github.com/users/Privy/followers","following_url":"https://api.github.com/users/Privy/following{/other_user}","gists_url":"https://api.github.com/users/Privy/gists{/gist_id}","starred_url":"https://api.github.com/users/Privy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Privy/subscriptions","organizations_url":"https://api.github.com/users/Privy/orgs","repos_url":"https://api.github.com/users/Privy/repos","events_url":"https://api.github.com/users/Privy/events{/privacy}","received_events_url":"https://api.github.com/users/Privy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Privy/fixer_currency","description":"Ruby Money::Bank interface for the Google Currency exchange data","fork":true,"url":"https://api.github.com/repos/Privy/fixer_currency","forks_url":"https://api.github.com/repos/Privy/fixer_currency/forks","keys_url":"https://api.github.com/repos/Privy/fixer_currency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Privy/fixer_currency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Privy/fixer_currency/teams","hooks_url":"https://api.github.com/repos/Privy/fixer_currency/hooks","issue_events_url":"https://api.github.com/repos/Privy/fixer_currency/issues/events{/number}","events_url":"https://api.github.com/repos/Privy/fixer_currency/events","assignees_url":"https://api.github.com/repos/Privy/fixer_currency/assignees{/user}","branches_url":"https://api.github.com/repos/Privy/fixer_currency/branches{/branch}","tags_url":"https://api.github.com/repos/Privy/fixer_currency/tags","blobs_url":"https://api.github.com/repos/Privy/fixer_currency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Privy/fixer_currency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Privy/fixer_currency/git/refs{/sha}","trees_url":"https://api.github.com/repos/Privy/fixer_currency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Privy/fixer_currency/statuses/{sha}","languages_url":"https://api.github.com/repos/Privy/fixer_currency/languages","stargazers_url":"https://api.github.com/repos/Privy/fixer_currency/stargazers","contributors_url":"https://api.github.com/repos/Privy/fixer_currency/contributors","subscribers_url":"https://api.github.com/repos/Privy/fixer_currency/subscribers","subscription_url":"https://api.github.com/repos/Privy/fixer_currency/subscription","commits_url":"https://api.github.com/repos/Privy/fixer_currency/commits{/sha}","git_commits_url":"https://api.github.com/repos/Privy/fixer_currency/git/commits{/sha}","comments_url":"https://api.github.com/repos/Privy/fixer_currency/comments{/number}","issue_comment_url":"https://api.github.com/repos/Privy/fixer_currency/issues/comments{/number}","contents_url":"https://api.github.com/repos/Privy/fixer_currency/contents/{+path}","compare_url":"https://api.github.com/repos/Privy/fixer_currency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Privy/fixer_currency/merges","archive_url":"https://api.github.com/repos/Privy/fixer_currency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Privy/fixer_currency/downloads","issues_url":"https://api.github.com/repos/Privy/fixer_currency/issues{/number}","pulls_url":"https://api.github.com/repos/Privy/fixer_currency/pulls{/number}","milestones_url":"https://api.github.com/repos/Privy/fixer_currency/milestones{/number}","notifications_url":"https://api.github.com/repos/Privy/fixer_currency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Privy/fixer_currency/labels{/name}","releases_url":"https://api.github.com/repos/Privy/fixer_currency/releases{/id}","deployments_url":"https://api.github.com/repos/Privy/fixer_currency/deployments","created_at":"2018-06-29T15:36:38Z","updated_at":"2018-06-29T15:38:31Z","pushed_at":"2018-06-29T20:53:07Z","git_url":"git://github.com/Privy/fixer_currency.git","ssh_url":"git@github.com:Privy/fixer_currency.git","clone_url":"https://github.com/Privy/fixer_currency.git","svn_url":"https://github.com/Privy/fixer_currency","homepage":"http://rubymoney.github.com/google_currency","size":199,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Privy/fixer_currency/pulls/1"},"html":{"href":"https://github.com/Privy/fixer_currency/pull/1"},"issue":{"href":"https://api.github.com/repos/Privy/fixer_currency/issues/1"},"comments":{"href":"https://api.github.com/repos/Privy/fixer_currency/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Privy/fixer_currency/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Privy/fixer_currency/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Privy/fixer_currency/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Privy/fixer_currency/statuses/bddd2761eb48dde3a6b755a511a945699ed48afa"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"pcai"}}