{"action":"created","comment":{"url":"https://api.github.com/repos/PRX/fixer_client/pulls/comments/31464070","id":31464070,"diff_hunk":"@@ -0,0 +1,37 @@\n+require 'dotenv'\n+Dotenv.load '.env-fixer_client'\n+\n+require 'fixer_client'\n+Fixer.reset!\n+\n+Fixer.configure do |c|\n+  c.client_id = ENV['FIXER_CLIENT_ID']\n+  c.client_secret = ENV['FIXER_CLIENT_SECRET']\n+  c.endpoint = 'http://fixer.prx.dev/api/'","path":"examples/sequence.rb","position":10,"original_position":10,"commit_id":"45b8a0f4ff3aabb69dab997406cdec5b0adf1f54","original_commit_id":"45b8a0f4ff3aabb69dab997406cdec5b0adf1f54","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-01T20:03:46Z","updated_at":"2015-06-01T20:03:46Z","html_url":"https://github.com/PRX/fixer_client/pull/3#discussion_r31464070","pull_request_url":"https://api.github.com/repos/PRX/fixer_client/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/PRX/fixer_client/pulls/comments/31464070"},"html":{"href":"https://github.com/PRX/fixer_client/pull/3#discussion_r31464070"},"pull_request":{"href":"https://api.github.com/repos/PRX/fixer_client/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/PRX/fixer_client/pulls/3","id":36665016,"html_url":"https://github.com/PRX/fixer_client/pull/3","diff_url":"https://github.com/PRX/fixer_client/pull/3.diff","patch_url":"https://github.com/PRX/fixer_client/pull/3.patch","issue_url":"https://api.github.com/repos/PRX/fixer_client/issues/3","number":3,"state":"open","locked":false,"title":"Post encoding","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"body":"posts bodies are url form encoded, should be json\r\nfixes #2 ","created_at":"2015-06-01T20:03:42Z","updated_at":"2015-06-01T20:03:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3146f73d57c3becddc019d330f65b74c171d475d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PRX/fixer_client/pulls/3/commits","review_comments_url":"https://api.github.com/repos/PRX/fixer_client/pulls/3/comments","review_comment_url":"https://api.github.com/repos/PRX/fixer_client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PRX/fixer_client/issues/3/comments","statuses_url":"https://api.github.com/repos/PRX/fixer_client/statuses/45b8a0f4ff3aabb69dab997406cdec5b0adf1f54","head":{"label":"PRX:fix/post_encoding","ref":"fix/post_encoding","sha":"45b8a0f4ff3aabb69dab997406cdec5b0adf1f54","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":30075686,"name":"fixer_client","full_name":"PRX/fixer_client","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/fixer_client","description":"Client gem for working with the fixer application's API","fork":false,"url":"https://api.github.com/repos/PRX/fixer_client","forks_url":"https://api.github.com/repos/PRX/fixer_client/forks","keys_url":"https://api.github.com/repos/PRX/fixer_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/fixer_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/fixer_client/teams","hooks_url":"https://api.github.com/repos/PRX/fixer_client/hooks","issue_events_url":"https://api.github.com/repos/PRX/fixer_client/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/fixer_client/events","assignees_url":"https://api.github.com/repos/PRX/fixer_client/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/fixer_client/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/fixer_client/tags","blobs_url":"https://api.github.com/repos/PRX/fixer_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/fixer_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/fixer_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/fixer_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/fixer_client/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/fixer_client/languages","stargazers_url":"https://api.github.com/repos/PRX/fixer_client/stargazers","contributors_url":"https://api.github.com/repos/PRX/fixer_client/contributors","subscribers_url":"https://api.github.com/repos/PRX/fixer_client/subscribers","subscription_url":"https://api.github.com/repos/PRX/fixer_client/subscription","commits_url":"https://api.github.com/repos/PRX/fixer_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/fixer_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/fixer_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/fixer_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/fixer_client/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/fixer_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/fixer_client/merges","archive_url":"https://api.github.com/repos/PRX/fixer_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/fixer_client/downloads","issues_url":"https://api.github.com/repos/PRX/fixer_client/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/fixer_client/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/fixer_client/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/fixer_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/fixer_client/labels{/name}","releases_url":"https://api.github.com/repos/PRX/fixer_client/releases{/id}","created_at":"2015-01-30T14:37:37Z","updated_at":"2015-05-08T14:12:06Z","pushed_at":"2015-06-01T20:03:43Z","git_url":"git://github.com/PRX/fixer_client.git","ssh_url":"git@github.com:PRX/fixer_client.git","clone_url":"https://github.com/PRX/fixer_client.git","svn_url":"https://github.com/PRX/fixer_client","homepage":null,"size":2020,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"PRX:master","ref":"master","sha":"1fde681949d40a646d71bb83205f6d9c98153a94","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":30075686,"name":"fixer_client","full_name":"PRX/fixer_client","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/fixer_client","description":"Client gem for working with the fixer application's API","fork":false,"url":"https://api.github.com/repos/PRX/fixer_client","forks_url":"https://api.github.com/repos/PRX/fixer_client/forks","keys_url":"https://api.github.com/repos/PRX/fixer_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/fixer_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/fixer_client/teams","hooks_url":"https://api.github.com/repos/PRX/fixer_client/hooks","issue_events_url":"https://api.github.com/repos/PRX/fixer_client/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/fixer_client/events","assignees_url":"https://api.github.com/repos/PRX/fixer_client/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/fixer_client/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/fixer_client/tags","blobs_url":"https://api.github.com/repos/PRX/fixer_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/fixer_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/fixer_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/fixer_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/fixer_client/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/fixer_client/languages","stargazers_url":"https://api.github.com/repos/PRX/fixer_client/stargazers","contributors_url":"https://api.github.com/repos/PRX/fixer_client/contributors","subscribers_url":"https://api.github.com/repos/PRX/fixer_client/subscribers","subscription_url":"https://api.github.com/repos/PRX/fixer_client/subscription","commits_url":"https://api.github.com/repos/PRX/fixer_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/fixer_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/fixer_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/fixer_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/fixer_client/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/fixer_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/fixer_client/merges","archive_url":"https://api.github.com/repos/PRX/fixer_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/fixer_client/downloads","issues_url":"https://api.github.com/repos/PRX/fixer_client/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/fixer_client/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/fixer_client/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/fixer_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/fixer_client/labels{/name}","releases_url":"https://api.github.com/repos/PRX/fixer_client/releases{/id}","created_at":"2015-01-30T14:37:37Z","updated_at":"2015-05-08T14:12:06Z","pushed_at":"2015-06-01T20:03:43Z","git_url":"git://github.com/PRX/fixer_client.git","ssh_url":"git@github.com:PRX/fixer_client.git","clone_url":"https://github.com/PRX/fixer_client.git","svn_url":"https://github.com/PRX/fixer_client","homepage":null,"size":2020,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PRX/fixer_client/pulls/3"},"html":{"href":"https://github.com/PRX/fixer_client/pull/3"},"issue":{"href":"https://api.github.com/repos/PRX/fixer_client/issues/3"},"comments":{"href":"https://api.github.com/repos/PRX/fixer_client/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/PRX/fixer_client/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/PRX/fixer_client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PRX/fixer_client/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/PRX/fixer_client/statuses/45b8a0f4ff3aabb69dab997406cdec5b0adf1f54"}}}}