{"action":"created","comment":{"url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/comments/38817290","id":38817290,"diff_hunk":"@@ -50,8 +50,8 @@ def headers\n \n       def extract_headers\n         extracted_headers = {}\n-        if params['message-headers']\n-          parsed_headers = JSON.parse(params['message-headers'])\n+        if params['message_headers']","path":"lib/griddler/mailgun/adapter.rb","position":17,"original_position":17,"commit_id":"550442535155c5d69b042d9e1e21376ab0048476","original_commit_id":"550442535155c5d69b042d9e1e21376ab0048476","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-09-06T03:37:21Z","updated_at":"2015-09-06T03:37:21Z","html_url":"https://github.com/bradpauly/griddler-mailgun/pull/10#discussion_r38817290","pull_request_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/comments/38817290"},"html":{"href":"https://github.com/bradpauly/griddler-mailgun/pull/10#discussion_r38817290"},"pull_request":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10","id":44294795,"html_url":"https://github.com/bradpauly/griddler-mailgun/pull/10","diff_url":"https://github.com/bradpauly/griddler-mailgun/pull/10.diff","patch_url":"https://github.com/bradpauly/griddler-mailgun/pull/10.patch","issue_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/10","number":10,"state":"open","locked":false,"title":"Use snake case instead of dashes for params","user":{"login":"maxhungry","id":4337705,"avatar_url":"https://avatars.githubusercontent.com/u/4337705?v=3","gravatar_id":"","url":"https://api.github.com/users/maxhungry","html_url":"https://github.com/maxhungry","followers_url":"https://api.github.com/users/maxhungry/followers","following_url":"https://api.github.com/users/maxhungry/following{/other_user}","gists_url":"https://api.github.com/users/maxhungry/gists{/gist_id}","starred_url":"https://api.github.com/users/maxhungry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxhungry/subscriptions","organizations_url":"https://api.github.com/users/maxhungry/orgs","repos_url":"https://api.github.com/users/maxhungry/repos","events_url":"https://api.github.com/users/maxhungry/events{/privacy}","received_events_url":"https://api.github.com/users/maxhungry/received_events","type":"User","site_admin":false},"body":"It seems like mailgun's param keys in POST uses  `body_plain` instead of `body-plain`.","created_at":"2015-09-06T03:37:19Z","updated_at":"2015-09-06T03:37:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13771ab9c370aa1ba6a542705446be59c94a383e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10/commits","review_comments_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10/comments","review_comment_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/10/comments","statuses_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/statuses/550442535155c5d69b042d9e1e21376ab0048476","head":{"label":"maxhungry:fix-param-keys","ref":"fix-param-keys","sha":"550442535155c5d69b042d9e1e21376ab0048476","user":{"login":"maxhungry","id":4337705,"avatar_url":"https://avatars.githubusercontent.com/u/4337705?v=3","gravatar_id":"","url":"https://api.github.com/users/maxhungry","html_url":"https://github.com/maxhungry","followers_url":"https://api.github.com/users/maxhungry/followers","following_url":"https://api.github.com/users/maxhungry/following{/other_user}","gists_url":"https://api.github.com/users/maxhungry/gists{/gist_id}","starred_url":"https://api.github.com/users/maxhungry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxhungry/subscriptions","organizations_url":"https://api.github.com/users/maxhungry/orgs","repos_url":"https://api.github.com/users/maxhungry/repos","events_url":"https://api.github.com/users/maxhungry/events{/privacy}","received_events_url":"https://api.github.com/users/maxhungry/received_events","type":"User","site_admin":false},"repo":{"id":41984416,"name":"griddler-mailgun","full_name":"maxhungry/griddler-mailgun","owner":{"login":"maxhungry","id":4337705,"avatar_url":"https://avatars.githubusercontent.com/u/4337705?v=3","gravatar_id":"","url":"https://api.github.com/users/maxhungry","html_url":"https://github.com/maxhungry","followers_url":"https://api.github.com/users/maxhungry/followers","following_url":"https://api.github.com/users/maxhungry/following{/other_user}","gists_url":"https://api.github.com/users/maxhungry/gists{/gist_id}","starred_url":"https://api.github.com/users/maxhungry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxhungry/subscriptions","organizations_url":"https://api.github.com/users/maxhungry/orgs","repos_url":"https://api.github.com/users/maxhungry/repos","events_url":"https://api.github.com/users/maxhungry/events{/privacy}","received_events_url":"https://api.github.com/users/maxhungry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxhungry/griddler-mailgun","description":"Mailgun adapter for the griddler gem.","fork":true,"url":"https://api.github.com/repos/maxhungry/griddler-mailgun","forks_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/forks","keys_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/teams","hooks_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/hooks","issue_events_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/issues/events{/number}","events_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/events","assignees_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/assignees{/user}","branches_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/branches{/branch}","tags_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/tags","blobs_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/statuses/{sha}","languages_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/languages","stargazers_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/stargazers","contributors_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/contributors","subscribers_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/subscribers","subscription_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/subscription","commits_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/contents/{+path}","compare_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/merges","archive_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/downloads","issues_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/issues{/number}","pulls_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/pulls{/number}","milestones_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/milestones{/number}","notifications_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/labels{/name}","releases_url":"https://api.github.com/repos/maxhungry/griddler-mailgun/releases{/id}","created_at":"2015-09-06T02:52:00Z","updated_at":"2015-09-06T02:52:01Z","pushed_at":"2015-09-06T03:33:47Z","git_url":"git://github.com/maxhungry/griddler-mailgun.git","ssh_url":"git@github.com:maxhungry/griddler-mailgun.git","clone_url":"https://github.com/maxhungry/griddler-mailgun.git","svn_url":"https://github.com/maxhungry/griddler-mailgun","homepage":"","size":109,"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":"bradpauly:master","ref":"master","sha":"863fa3f332a66c970c861134addb76f77ad27df5","user":{"login":"bradpauly","id":6277,"avatar_url":"https://avatars.githubusercontent.com/u/6277?v=3","gravatar_id":"","url":"https://api.github.com/users/bradpauly","html_url":"https://github.com/bradpauly","followers_url":"https://api.github.com/users/bradpauly/followers","following_url":"https://api.github.com/users/bradpauly/following{/other_user}","gists_url":"https://api.github.com/users/bradpauly/gists{/gist_id}","starred_url":"https://api.github.com/users/bradpauly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradpauly/subscriptions","organizations_url":"https://api.github.com/users/bradpauly/orgs","repos_url":"https://api.github.com/users/bradpauly/repos","events_url":"https://api.github.com/users/bradpauly/events{/privacy}","received_events_url":"https://api.github.com/users/bradpauly/received_events","type":"User","site_admin":false},"repo":{"id":20668021,"name":"griddler-mailgun","full_name":"bradpauly/griddler-mailgun","owner":{"login":"bradpauly","id":6277,"avatar_url":"https://avatars.githubusercontent.com/u/6277?v=3","gravatar_id":"","url":"https://api.github.com/users/bradpauly","html_url":"https://github.com/bradpauly","followers_url":"https://api.github.com/users/bradpauly/followers","following_url":"https://api.github.com/users/bradpauly/following{/other_user}","gists_url":"https://api.github.com/users/bradpauly/gists{/gist_id}","starred_url":"https://api.github.com/users/bradpauly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradpauly/subscriptions","organizations_url":"https://api.github.com/users/bradpauly/orgs","repos_url":"https://api.github.com/users/bradpauly/repos","events_url":"https://api.github.com/users/bradpauly/events{/privacy}","received_events_url":"https://api.github.com/users/bradpauly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradpauly/griddler-mailgun","description":"Mailgun adapter for the griddler gem.","fork":false,"url":"https://api.github.com/repos/bradpauly/griddler-mailgun","forks_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/forks","keys_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/teams","hooks_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/hooks","issue_events_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/events{/number}","events_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/events","assignees_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/assignees{/user}","branches_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/branches{/branch}","tags_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/tags","blobs_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/statuses/{sha}","languages_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/languages","stargazers_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/stargazers","contributors_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/contributors","subscribers_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/subscribers","subscription_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/subscription","commits_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/comments{/number}","contents_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/contents/{+path}","compare_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/merges","archive_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/downloads","issues_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues{/number}","pulls_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls{/number}","milestones_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/milestones{/number}","notifications_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/labels{/name}","releases_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/releases{/id}","created_at":"2014-06-10T01:19:35Z","updated_at":"2015-07-31T08:05:00Z","pushed_at":"2015-09-06T03:37:19Z","git_url":"git://github.com/bradpauly/griddler-mailgun.git","ssh_url":"git@github.com:bradpauly/griddler-mailgun.git","clone_url":"https://github.com/bradpauly/griddler-mailgun.git","svn_url":"https://github.com/bradpauly/griddler-mailgun","homepage":"","size":253,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10"},"html":{"href":"https://github.com/bradpauly/griddler-mailgun/pull/10"},"issue":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/10"},"comments":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/bradpauly/griddler-mailgun/statuses/550442535155c5d69b042d9e1e21376ab0048476"}}}}