{"action":"created","comment":{"url":"https://api.github.com/repos/ermolushka/flashcards/pulls/comments/26253049","id":26253049,"diff_hunk":"@@ -0,0 +1,7 @@\n+class CardsMailer < ActionMailer::Base\n+  default from: \"alexeyermolaev91@gmail.com\"\n+  def pending_cards_notification(user)\n+    @user = user\n+    mail(to: @user.email, subject: 'У вас есть карточки для повторения')","path":"app/mailers/cards_mailer.rb","position":5,"original_position":5,"commit_id":"24a4775bd4c4cb889d9b0d0526311f8e616db243","original_commit_id":"24a4775bd4c4cb889d9b0d0526311f8e616db243","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-03-11T20:39:13Z","updated_at":"2015-03-11T20:39:13Z","html_url":"https://github.com/ermolushka/flashcards/pull/16#discussion_r26253049","pull_request_url":"https://api.github.com/repos/ermolushka/flashcards/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/ermolushka/flashcards/pulls/comments/26253049"},"html":{"href":"https://github.com/ermolushka/flashcards/pull/16#discussion_r26253049"},"pull_request":{"href":"https://api.github.com/repos/ermolushka/flashcards/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/ermolushka/flashcards/pulls/16","id":30982819,"html_url":"https://github.com/ermolushka/flashcards/pull/16","diff_url":"https://github.com/ermolushka/flashcards/pull/16.diff","patch_url":"https://github.com/ermolushka/flashcards/pull/16.patch","issue_url":"https://api.github.com/repos/ermolushka/flashcards/issues/16","number":16,"state":"open","locked":false,"title":"mailer","user":{"login":"ermolushka","id":2204660,"avatar_url":"https://avatars.githubusercontent.com/u/2204660?v=3","gravatar_id":"","url":"https://api.github.com/users/ermolushka","html_url":"https://github.com/ermolushka","followers_url":"https://api.github.com/users/ermolushka/followers","following_url":"https://api.github.com/users/ermolushka/following{/other_user}","gists_url":"https://api.github.com/users/ermolushka/gists{/gist_id}","starred_url":"https://api.github.com/users/ermolushka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermolushka/subscriptions","organizations_url":"https://api.github.com/users/ermolushka/orgs","repos_url":"https://api.github.com/users/ermolushka/repos","events_url":"https://api.github.com/users/ermolushka/events{/privacy}","received_events_url":"https://api.github.com/users/ermolushka/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-11T20:39:06Z","updated_at":"2015-03-11T20:39:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6338579446f922bfbb95418cf03213fff54d28dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ermolushka/flashcards/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ermolushka/flashcards/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ermolushka/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ermolushka/flashcards/issues/16/comments","statuses_url":"https://api.github.com/repos/ermolushka/flashcards/statuses/24a4775bd4c4cb889d9b0d0526311f8e616db243","head":{"label":"ermolushka:mailer","ref":"mailer","sha":"24a4775bd4c4cb889d9b0d0526311f8e616db243","user":{"login":"ermolushka","id":2204660,"avatar_url":"https://avatars.githubusercontent.com/u/2204660?v=3","gravatar_id":"","url":"https://api.github.com/users/ermolushka","html_url":"https://github.com/ermolushka","followers_url":"https://api.github.com/users/ermolushka/followers","following_url":"https://api.github.com/users/ermolushka/following{/other_user}","gists_url":"https://api.github.com/users/ermolushka/gists{/gist_id}","starred_url":"https://api.github.com/users/ermolushka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermolushka/subscriptions","organizations_url":"https://api.github.com/users/ermolushka/orgs","repos_url":"https://api.github.com/users/ermolushka/repos","events_url":"https://api.github.com/users/ermolushka/events{/privacy}","received_events_url":"https://api.github.com/users/ermolushka/received_events","type":"User","site_admin":false},"repo":{"id":30872002,"name":"flashcards","full_name":"ermolushka/flashcards","owner":{"login":"ermolushka","id":2204660,"avatar_url":"https://avatars.githubusercontent.com/u/2204660?v=3","gravatar_id":"","url":"https://api.github.com/users/ermolushka","html_url":"https://github.com/ermolushka","followers_url":"https://api.github.com/users/ermolushka/followers","following_url":"https://api.github.com/users/ermolushka/following{/other_user}","gists_url":"https://api.github.com/users/ermolushka/gists{/gist_id}","starred_url":"https://api.github.com/users/ermolushka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermolushka/subscriptions","organizations_url":"https://api.github.com/users/ermolushka/orgs","repos_url":"https://api.github.com/users/ermolushka/repos","events_url":"https://api.github.com/users/ermolushka/events{/privacy}","received_events_url":"https://api.github.com/users/ermolushka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ermolushka/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/ermolushka/flashcards","forks_url":"https://api.github.com/repos/ermolushka/flashcards/forks","keys_url":"https://api.github.com/repos/ermolushka/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ermolushka/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ermolushka/flashcards/teams","hooks_url":"https://api.github.com/repos/ermolushka/flashcards/hooks","issue_events_url":"https://api.github.com/repos/ermolushka/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/ermolushka/flashcards/events","assignees_url":"https://api.github.com/repos/ermolushka/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/ermolushka/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/ermolushka/flashcards/tags","blobs_url":"https://api.github.com/repos/ermolushka/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ermolushka/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ermolushka/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/ermolushka/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ermolushka/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/ermolushka/flashcards/languages","stargazers_url":"https://api.github.com/repos/ermolushka/flashcards/stargazers","contributors_url":"https://api.github.com/repos/ermolushka/flashcards/contributors","subscribers_url":"https://api.github.com/repos/ermolushka/flashcards/subscribers","subscription_url":"https://api.github.com/repos/ermolushka/flashcards/subscription","commits_url":"https://api.github.com/repos/ermolushka/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/ermolushka/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/ermolushka/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/ermolushka/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/ermolushka/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/ermolushka/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ermolushka/flashcards/merges","archive_url":"https://api.github.com/repos/ermolushka/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ermolushka/flashcards/downloads","issues_url":"https://api.github.com/repos/ermolushka/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/ermolushka/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/ermolushka/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/ermolushka/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ermolushka/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/ermolushka/flashcards/releases{/id}","created_at":"2015-02-16T14:35:15Z","updated_at":"2015-03-10T18:59:03Z","pushed_at":"2015-03-11T20:38:39Z","git_url":"git://github.com/ermolushka/flashcards.git","ssh_url":"git@github.com:ermolushka/flashcards.git","clone_url":"https://github.com/ermolushka/flashcards.git","svn_url":"https://github.com/ermolushka/flashcards","homepage":null,"size":644,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ermolushka:master","ref":"master","sha":"0e20099e2f265f00324aa869423c0debb683b384","user":{"login":"ermolushka","id":2204660,"avatar_url":"https://avatars.githubusercontent.com/u/2204660?v=3","gravatar_id":"","url":"https://api.github.com/users/ermolushka","html_url":"https://github.com/ermolushka","followers_url":"https://api.github.com/users/ermolushka/followers","following_url":"https://api.github.com/users/ermolushka/following{/other_user}","gists_url":"https://api.github.com/users/ermolushka/gists{/gist_id}","starred_url":"https://api.github.com/users/ermolushka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermolushka/subscriptions","organizations_url":"https://api.github.com/users/ermolushka/orgs","repos_url":"https://api.github.com/users/ermolushka/repos","events_url":"https://api.github.com/users/ermolushka/events{/privacy}","received_events_url":"https://api.github.com/users/ermolushka/received_events","type":"User","site_admin":false},"repo":{"id":30872002,"name":"flashcards","full_name":"ermolushka/flashcards","owner":{"login":"ermolushka","id":2204660,"avatar_url":"https://avatars.githubusercontent.com/u/2204660?v=3","gravatar_id":"","url":"https://api.github.com/users/ermolushka","html_url":"https://github.com/ermolushka","followers_url":"https://api.github.com/users/ermolushka/followers","following_url":"https://api.github.com/users/ermolushka/following{/other_user}","gists_url":"https://api.github.com/users/ermolushka/gists{/gist_id}","starred_url":"https://api.github.com/users/ermolushka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermolushka/subscriptions","organizations_url":"https://api.github.com/users/ermolushka/orgs","repos_url":"https://api.github.com/users/ermolushka/repos","events_url":"https://api.github.com/users/ermolushka/events{/privacy}","received_events_url":"https://api.github.com/users/ermolushka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ermolushka/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/ermolushka/flashcards","forks_url":"https://api.github.com/repos/ermolushka/flashcards/forks","keys_url":"https://api.github.com/repos/ermolushka/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ermolushka/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ermolushka/flashcards/teams","hooks_url":"https://api.github.com/repos/ermolushka/flashcards/hooks","issue_events_url":"https://api.github.com/repos/ermolushka/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/ermolushka/flashcards/events","assignees_url":"https://api.github.com/repos/ermolushka/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/ermolushka/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/ermolushka/flashcards/tags","blobs_url":"https://api.github.com/repos/ermolushka/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ermolushka/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ermolushka/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/ermolushka/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ermolushka/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/ermolushka/flashcards/languages","stargazers_url":"https://api.github.com/repos/ermolushka/flashcards/stargazers","contributors_url":"https://api.github.com/repos/ermolushka/flashcards/contributors","subscribers_url":"https://api.github.com/repos/ermolushka/flashcards/subscribers","subscription_url":"https://api.github.com/repos/ermolushka/flashcards/subscription","commits_url":"https://api.github.com/repos/ermolushka/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/ermolushka/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/ermolushka/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/ermolushka/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/ermolushka/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/ermolushka/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ermolushka/flashcards/merges","archive_url":"https://api.github.com/repos/ermolushka/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ermolushka/flashcards/downloads","issues_url":"https://api.github.com/repos/ermolushka/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/ermolushka/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/ermolushka/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/ermolushka/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ermolushka/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/ermolushka/flashcards/releases{/id}","created_at":"2015-02-16T14:35:15Z","updated_at":"2015-03-10T18:59:03Z","pushed_at":"2015-03-11T20:38:39Z","git_url":"git://github.com/ermolushka/flashcards.git","ssh_url":"git@github.com:ermolushka/flashcards.git","clone_url":"https://github.com/ermolushka/flashcards.git","svn_url":"https://github.com/ermolushka/flashcards","homepage":null,"size":644,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ermolushka/flashcards/pulls/16"},"html":{"href":"https://github.com/ermolushka/flashcards/pull/16"},"issue":{"href":"https://api.github.com/repos/ermolushka/flashcards/issues/16"},"comments":{"href":"https://api.github.com/repos/ermolushka/flashcards/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ermolushka/flashcards/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ermolushka/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ermolushka/flashcards/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ermolushka/flashcards/statuses/24a4775bd4c4cb889d9b0d0526311f8e616db243"}}}}