{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/48698504","id":48698504,"diff_hunk":"@@ -0,0 +1,21 @@\n+require 'mailgun'\n+class SendRecoverLink\n+\n+ def initialize(mailer: nil)\n+   @mailer = mailer || Mailgun::Client.new(ENV[\"your_api_key\"])\n+ end\n+\n+ def self.call(user, mailer = nil)\n+   new(mailer: mailer).call(user)\n+ end\n+\n+ def call(user)\n+   mailer.send_message(ENV[\"mailgun_domain_name\"], {from: \"chitter@mail.com\",","path":"lib/send_recover_link.rb","position":13,"original_position":13,"commit_id":"d4d735bb6cbe7eddd3fce6cbca438935b488e6df","original_commit_id":"d4d735bb6cbe7eddd3fce6cbca438935b488e6df","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":"Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.","created_at":"2016-01-03T23:02:15Z","updated_at":"2016-01-03T23:02:15Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/223#discussion_r48698504","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/48698504"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/223#discussion_r48698504"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223","id":54924934,"html_url":"https://github.com/makersacademy/chitter-challenge/pull/223","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/223.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/223.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/223","number":223,"state":"open","locked":false,"title":"MA: Chitter-Challenge by GIMI-Q","user":{"login":"gimi-q","id":15385627,"avatar_url":"https://avatars.githubusercontent.com/u/15385627?v=3","gravatar_id":"","url":"https://api.github.com/users/gimi-q","html_url":"https://github.com/gimi-q","followers_url":"https://api.github.com/users/gimi-q/followers","following_url":"https://api.github.com/users/gimi-q/following{/other_user}","gists_url":"https://api.github.com/users/gimi-q/gists{/gist_id}","starred_url":"https://api.github.com/users/gimi-q/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimi-q/subscriptions","organizations_url":"https://api.github.com/users/gimi-q/orgs","repos_url":"https://api.github.com/users/gimi-q/repos","events_url":"https://api.github.com/users/gimi-q/events{/privacy}","received_events_url":"https://api.github.com/users/gimi-q/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-03T13:40:45Z","updated_at":"2016-01-03T23:02:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"268b4fa0490216378153a01f0d5393800f1608c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223/comments","review_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/223/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/d4d735bb6cbe7eddd3fce6cbca438935b488e6df","head":{"label":"gimi-q:master","ref":"master","sha":"d4d735bb6cbe7eddd3fce6cbca438935b488e6df","user":{"login":"gimi-q","id":15385627,"avatar_url":"https://avatars.githubusercontent.com/u/15385627?v=3","gravatar_id":"","url":"https://api.github.com/users/gimi-q","html_url":"https://github.com/gimi-q","followers_url":"https://api.github.com/users/gimi-q/followers","following_url":"https://api.github.com/users/gimi-q/following{/other_user}","gists_url":"https://api.github.com/users/gimi-q/gists{/gist_id}","starred_url":"https://api.github.com/users/gimi-q/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimi-q/subscriptions","organizations_url":"https://api.github.com/users/gimi-q/orgs","repos_url":"https://api.github.com/users/gimi-q/repos","events_url":"https://api.github.com/users/gimi-q/events{/privacy}","received_events_url":"https://api.github.com/users/gimi-q/received_events","type":"User","site_admin":false},"repo":{"id":48889019,"name":"chitter-challenge","full_name":"gimi-q/chitter-challenge","owner":{"login":"gimi-q","id":15385627,"avatar_url":"https://avatars.githubusercontent.com/u/15385627?v=3","gravatar_id":"","url":"https://api.github.com/users/gimi-q","html_url":"https://github.com/gimi-q","followers_url":"https://api.github.com/users/gimi-q/followers","following_url":"https://api.github.com/users/gimi-q/following{/other_user}","gists_url":"https://api.github.com/users/gimi-q/gists{/gist_id}","starred_url":"https://api.github.com/users/gimi-q/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimi-q/subscriptions","organizations_url":"https://api.github.com/users/gimi-q/orgs","repos_url":"https://api.github.com/users/gimi-q/repos","events_url":"https://api.github.com/users/gimi-q/events{/privacy}","received_events_url":"https://api.github.com/users/gimi-q/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gimi-q/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/gimi-q/chitter-challenge","forks_url":"https://api.github.com/repos/gimi-q/chitter-challenge/forks","keys_url":"https://api.github.com/repos/gimi-q/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gimi-q/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gimi-q/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/gimi-q/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/gimi-q/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/gimi-q/chitter-challenge/events","assignees_url":"https://api.github.com/repos/gimi-q/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/gimi-q/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/gimi-q/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/gimi-q/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gimi-q/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gimi-q/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/gimi-q/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gimi-q/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/gimi-q/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/gimi-q/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/gimi-q/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/gimi-q/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/gimi-q/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/gimi-q/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/gimi-q/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/gimi-q/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/gimi-q/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/gimi-q/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/gimi-q/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gimi-q/chitter-challenge/merges","archive_url":"https://api.github.com/repos/gimi-q/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gimi-q/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/gimi-q/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/gimi-q/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/gimi-q/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/gimi-q/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gimi-q/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/gimi-q/chitter-challenge/releases{/id}","created_at":"2016-01-01T20:45:39Z","updated_at":"2016-01-01T20:45:40Z","pushed_at":"2016-01-03T23:02:06Z","git_url":"git://github.com/gimi-q/chitter-challenge.git","ssh_url":"git@github.com:gimi-q/chitter-challenge.git","clone_url":"https://github.com/gimi-q/chitter-challenge.git","svn_url":"https://github.com/gimi-q/chitter-challenge","homepage":null,"size":74,"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":"makersacademy:master","ref":"master","sha":"197661c9e9c3855ee1f464e804d754e0fdcd9994","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":26954706,"name":"chitter-challenge","full_name":"makersacademy/chitter-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/chitter-challenge","description":"Build a Twitter Clone!","fork":false,"url":"https://api.github.com/repos/makersacademy/chitter-challenge","forks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/chitter-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/chitter-challenge/releases{/id}","created_at":"2014-11-21T09:53:31Z","updated_at":"2015-12-23T20:26:15Z","pushed_at":"2016-01-03T23:02:06Z","git_url":"git://github.com/makersacademy/chitter-challenge.git","ssh_url":"git@github.com:makersacademy/chitter-challenge.git","clone_url":"https://github.com/makersacademy/chitter-challenge.git","svn_url":"https://github.com/makersacademy/chitter-challenge","homepage":null,"size":47522,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":227,"mirror_url":null,"open_issues_count":15,"forks":227,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/223"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/223"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/d4d735bb6cbe7eddd3fce6cbca438935b488e6df"}}}}