{"action":"created","comment":{"url":"https://api.github.com/repos/rakvium/taxi-api/pulls/comments/92406264","pull_request_review_id":12920166,"id":92406264,"diff_hunk":"@@ -0,0 +1,9 @@\n+# class to send mails to client\n+class ClientMailer < ApplicationMailer\n+  default from: 'taxi@taxi.com'\n+\n+  def welcome_email(order_id)\n+    @driver = Driver.find(Order.find_by(id: order_id).driver_id).name\n+    mail(to: 'email@email.ua', subject: 'Taxi')","path":"app/mailers/client_mailer.rb","position":7,"original_position":7,"commit_id":"ee1574a68b75e035dd2dacf34e448dbc6599b877","original_commit_id":"ee1574a68b75e035dd2dacf34e448dbc6599b877","user":{"login":"EvgeniiK","id":14296572,"avatar_url":"https://avatars.githubusercontent.com/u/14296572?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgeniiK","html_url":"https://github.com/EvgeniiK","followers_url":"https://api.github.com/users/EvgeniiK/followers","following_url":"https://api.github.com/users/EvgeniiK/following{/other_user}","gists_url":"https://api.github.com/users/EvgeniiK/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgeniiK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgeniiK/subscriptions","organizations_url":"https://api.github.com/users/EvgeniiK/orgs","repos_url":"https://api.github.com/users/EvgeniiK/repos","events_url":"https://api.github.com/users/EvgeniiK/events{/privacy}","received_events_url":"https://api.github.com/users/EvgeniiK/received_events","type":"User","site_admin":false},"body":"Maybe you need to send this email to somebody?","created_at":"2016-12-14T14:43:45Z","updated_at":"2016-12-14T14:43:45Z","html_url":"https://github.com/rakvium/taxi-api/pull/33#discussion_r92406264","pull_request_url":"https://api.github.com/repos/rakvium/taxi-api/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/rakvium/taxi-api/pulls/comments/92406264"},"html":{"href":"https://github.com/rakvium/taxi-api/pull/33#discussion_r92406264"},"pull_request":{"href":"https://api.github.com/repos/rakvium/taxi-api/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/rakvium/taxi-api/pulls/33","id":97963982,"html_url":"https://github.com/rakvium/taxi-api/pull/33","diff_url":"https://github.com/rakvium/taxi-api/pull/33.diff","patch_url":"https://github.com/rakvium/taxi-api/pull/33.patch","issue_url":"https://api.github.com/repos/rakvium/taxi-api/issues/33","number":33,"state":"open","locked":false,"title":"Feature/client email","user":{"login":"domenic99","id":14790265,"avatar_url":"https://avatars.githubusercontent.com/u/14790265?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic99","html_url":"https://github.com/domenic99","followers_url":"https://api.github.com/users/domenic99/followers","following_url":"https://api.github.com/users/domenic99/following{/other_user}","gists_url":"https://api.github.com/users/domenic99/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic99/subscriptions","organizations_url":"https://api.github.com/users/domenic99/orgs","repos_url":"https://api.github.com/users/domenic99/repos","events_url":"https://api.github.com/users/domenic99/events{/privacy}","received_events_url":"https://api.github.com/users/domenic99/received_events","type":"User","site_admin":false},"body":"#6 ","created_at":"2016-12-14T14:38:26Z","updated_at":"2016-12-14T14:43:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d05e9cfe848a17483251e0dbbf2d58103b25b0e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rakvium/taxi-api/pulls/33/commits","review_comments_url":"https://api.github.com/repos/rakvium/taxi-api/pulls/33/comments","review_comment_url":"https://api.github.com/repos/rakvium/taxi-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rakvium/taxi-api/issues/33/comments","statuses_url":"https://api.github.com/repos/rakvium/taxi-api/statuses/ee1574a68b75e035dd2dacf34e448dbc6599b877","head":{"label":"rakvium:feature/client_email","ref":"feature/client_email","sha":"ee1574a68b75e035dd2dacf34e448dbc6599b877","user":{"login":"rakvium","id":6672367,"avatar_url":"https://avatars.githubusercontent.com/u/6672367?v=3","gravatar_id":"","url":"https://api.github.com/users/rakvium","html_url":"https://github.com/rakvium","followers_url":"https://api.github.com/users/rakvium/followers","following_url":"https://api.github.com/users/rakvium/following{/other_user}","gists_url":"https://api.github.com/users/rakvium/gists{/gist_id}","starred_url":"https://api.github.com/users/rakvium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakvium/subscriptions","organizations_url":"https://api.github.com/users/rakvium/orgs","repos_url":"https://api.github.com/users/rakvium/repos","events_url":"https://api.github.com/users/rakvium/events{/privacy}","received_events_url":"https://api.github.com/users/rakvium/received_events","type":"User","site_admin":false},"repo":{"id":75401531,"name":"taxi-api","full_name":"rakvium/taxi-api","owner":{"login":"rakvium","id":6672367,"avatar_url":"https://avatars.githubusercontent.com/u/6672367?v=3","gravatar_id":"","url":"https://api.github.com/users/rakvium","html_url":"https://github.com/rakvium","followers_url":"https://api.github.com/users/rakvium/followers","following_url":"https://api.github.com/users/rakvium/following{/other_user}","gists_url":"https://api.github.com/users/rakvium/gists{/gist_id}","starred_url":"https://api.github.com/users/rakvium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakvium/subscriptions","organizations_url":"https://api.github.com/users/rakvium/orgs","repos_url":"https://api.github.com/users/rakvium/repos","events_url":"https://api.github.com/users/rakvium/events{/privacy}","received_events_url":"https://api.github.com/users/rakvium/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rakvium/taxi-api","description":"API for taxi app","fork":false,"url":"https://api.github.com/repos/rakvium/taxi-api","forks_url":"https://api.github.com/repos/rakvium/taxi-api/forks","keys_url":"https://api.github.com/repos/rakvium/taxi-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rakvium/taxi-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rakvium/taxi-api/teams","hooks_url":"https://api.github.com/repos/rakvium/taxi-api/hooks","issue_events_url":"https://api.github.com/repos/rakvium/taxi-api/issues/events{/number}","events_url":"https://api.github.com/repos/rakvium/taxi-api/events","assignees_url":"https://api.github.com/repos/rakvium/taxi-api/assignees{/user}","branches_url":"https://api.github.com/repos/rakvium/taxi-api/branches{/branch}","tags_url":"https://api.github.com/repos/rakvium/taxi-api/tags","blobs_url":"https://api.github.com/repos/rakvium/taxi-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rakvium/taxi-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rakvium/taxi-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/rakvium/taxi-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rakvium/taxi-api/statuses/{sha}","languages_url":"https://api.github.com/repos/rakvium/taxi-api/languages","stargazers_url":"https://api.github.com/repos/rakvium/taxi-api/stargazers","contributors_url":"https://api.github.com/repos/rakvium/taxi-api/contributors","subscribers_url":"https://api.github.com/repos/rakvium/taxi-api/subscribers","subscription_url":"https://api.github.com/repos/rakvium/taxi-api/subscription","commits_url":"https://api.github.com/repos/rakvium/taxi-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/rakvium/taxi-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/rakvium/taxi-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/rakvium/taxi-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/rakvium/taxi-api/contents/{+path}","compare_url":"https://api.github.com/repos/rakvium/taxi-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rakvium/taxi-api/merges","archive_url":"https://api.github.com/repos/rakvium/taxi-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rakvium/taxi-api/downloads","issues_url":"https://api.github.com/repos/rakvium/taxi-api/issues{/number}","pulls_url":"https://api.github.com/repos/rakvium/taxi-api/pulls{/number}","milestones_url":"https://api.github.com/repos/rakvium/taxi-api/milestones{/number}","notifications_url":"https://api.github.com/repos/rakvium/taxi-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rakvium/taxi-api/labels{/name}","releases_url":"https://api.github.com/repos/rakvium/taxi-api/releases{/id}","deployments_url":"https://api.github.com/repos/rakvium/taxi-api/deployments","created_at":"2016-12-02T14:16:15Z","updated_at":"2016-12-06T10:30:43Z","pushed_at":"2016-12-14T14:38:26Z","git_url":"git://github.com/rakvium/taxi-api.git","ssh_url":"git@github.com:rakvium/taxi-api.git","clone_url":"https://github.com/rakvium/taxi-api.git","svn_url":"https://github.com/rakvium/taxi-api","homepage":null,"size":59,"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":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"rakvium:master","ref":"master","sha":"e6a565970bcfa0d0946880812661f94ab1be9de5","user":{"login":"rakvium","id":6672367,"avatar_url":"https://avatars.githubusercontent.com/u/6672367?v=3","gravatar_id":"","url":"https://api.github.com/users/rakvium","html_url":"https://github.com/rakvium","followers_url":"https://api.github.com/users/rakvium/followers","following_url":"https://api.github.com/users/rakvium/following{/other_user}","gists_url":"https://api.github.com/users/rakvium/gists{/gist_id}","starred_url":"https://api.github.com/users/rakvium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakvium/subscriptions","organizations_url":"https://api.github.com/users/rakvium/orgs","repos_url":"https://api.github.com/users/rakvium/repos","events_url":"https://api.github.com/users/rakvium/events{/privacy}","received_events_url":"https://api.github.com/users/rakvium/received_events","type":"User","site_admin":false},"repo":{"id":75401531,"name":"taxi-api","full_name":"rakvium/taxi-api","owner":{"login":"rakvium","id":6672367,"avatar_url":"https://avatars.githubusercontent.com/u/6672367?v=3","gravatar_id":"","url":"https://api.github.com/users/rakvium","html_url":"https://github.com/rakvium","followers_url":"https://api.github.com/users/rakvium/followers","following_url":"https://api.github.com/users/rakvium/following{/other_user}","gists_url":"https://api.github.com/users/rakvium/gists{/gist_id}","starred_url":"https://api.github.com/users/rakvium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakvium/subscriptions","organizations_url":"https://api.github.com/users/rakvium/orgs","repos_url":"https://api.github.com/users/rakvium/repos","events_url":"https://api.github.com/users/rakvium/events{/privacy}","received_events_url":"https://api.github.com/users/rakvium/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rakvium/taxi-api","description":"API for taxi app","fork":false,"url":"https://api.github.com/repos/rakvium/taxi-api","forks_url":"https://api.github.com/repos/rakvium/taxi-api/forks","keys_url":"https://api.github.com/repos/rakvium/taxi-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rakvium/taxi-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rakvium/taxi-api/teams","hooks_url":"https://api.github.com/repos/rakvium/taxi-api/hooks","issue_events_url":"https://api.github.com/repos/rakvium/taxi-api/issues/events{/number}","events_url":"https://api.github.com/repos/rakvium/taxi-api/events","assignees_url":"https://api.github.com/repos/rakvium/taxi-api/assignees{/user}","branches_url":"https://api.github.com/repos/rakvium/taxi-api/branches{/branch}","tags_url":"https://api.github.com/repos/rakvium/taxi-api/tags","blobs_url":"https://api.github.com/repos/rakvium/taxi-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rakvium/taxi-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rakvium/taxi-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/rakvium/taxi-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rakvium/taxi-api/statuses/{sha}","languages_url":"https://api.github.com/repos/rakvium/taxi-api/languages","stargazers_url":"https://api.github.com/repos/rakvium/taxi-api/stargazers","contributors_url":"https://api.github.com/repos/rakvium/taxi-api/contributors","subscribers_url":"https://api.github.com/repos/rakvium/taxi-api/subscribers","subscription_url":"https://api.github.com/repos/rakvium/taxi-api/subscription","commits_url":"https://api.github.com/repos/rakvium/taxi-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/rakvium/taxi-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/rakvium/taxi-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/rakvium/taxi-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/rakvium/taxi-api/contents/{+path}","compare_url":"https://api.github.com/repos/rakvium/taxi-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rakvium/taxi-api/merges","archive_url":"https://api.github.com/repos/rakvium/taxi-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rakvium/taxi-api/downloads","issues_url":"https://api.github.com/repos/rakvium/taxi-api/issues{/number}","pulls_url":"https://api.github.com/repos/rakvium/taxi-api/pulls{/number}","milestones_url":"https://api.github.com/repos/rakvium/taxi-api/milestones{/number}","notifications_url":"https://api.github.com/repos/rakvium/taxi-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rakvium/taxi-api/labels{/name}","releases_url":"https://api.github.com/repos/rakvium/taxi-api/releases{/id}","deployments_url":"https://api.github.com/repos/rakvium/taxi-api/deployments","created_at":"2016-12-02T14:16:15Z","updated_at":"2016-12-06T10:30:43Z","pushed_at":"2016-12-14T14:38:26Z","git_url":"git://github.com/rakvium/taxi-api.git","ssh_url":"git@github.com:rakvium/taxi-api.git","clone_url":"https://github.com/rakvium/taxi-api.git","svn_url":"https://github.com/rakvium/taxi-api","homepage":null,"size":59,"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":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rakvium/taxi-api/pulls/33"},"html":{"href":"https://github.com/rakvium/taxi-api/pull/33"},"issue":{"href":"https://api.github.com/repos/rakvium/taxi-api/issues/33"},"comments":{"href":"https://api.github.com/repos/rakvium/taxi-api/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/rakvium/taxi-api/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/rakvium/taxi-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rakvium/taxi-api/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/rakvium/taxi-api/statuses/ee1574a68b75e035dd2dacf34e448dbc6599b877"}}}}
{"actor":{"display_login":"EvgeniiK"}}