{"action":"created","comment":{"url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments/28676953","id":28676953,"diff_hunk":"@@ -0,0 +1,26 @@\n+class UserInterfaceService\n+  class << self\n+    def invite_friends(emails)","path":"app/services/user_interface_service.rb","position":3,"original_position":3,"commit_id":"aa9118b47fe7ca6b4b602174ad29b45021d847eb","original_commit_id":"aa9118b47fe7ca6b4b602174ad29b45021d847eb","user":{"login":"mkdev-mentor-1","id":11962702,"avatar_url":"https://avatars.githubusercontent.com/u/11962702?v=3","gravatar_id":"","url":"https://api.github.com/users/mkdev-mentor-1","html_url":"https://github.com/mkdev-mentor-1","followers_url":"https://api.github.com/users/mkdev-mentor-1/followers","following_url":"https://api.github.com/users/mkdev-mentor-1/following{/other_user}","gists_url":"https://api.github.com/users/mkdev-mentor-1/gists{/gist_id}","starred_url":"https://api.github.com/users/mkdev-mentor-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkdev-mentor-1/subscriptions","organizations_url":"https://api.github.com/users/mkdev-mentor-1/orgs","repos_url":"https://api.github.com/users/mkdev-mentor-1/repos","events_url":"https://api.github.com/users/mkdev-mentor-1/events{/privacy}","received_events_url":"https://api.github.com/users/mkdev-mentor-1/received_events","type":"User","site_admin":false},"body":"А вообще, этот метод уже должен принимать массив почт, фильтрацию параметров перенести в контроллдер.","created_at":"2015-04-20T10:07:03Z","updated_at":"2015-04-20T10:07:03Z","html_url":"https://github.com/elavretskiy/flashcards/pull/27#discussion_r28676953","pull_request_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments/28676953"},"html":{"href":"https://github.com/elavretskiy/flashcards/pull/27#discussion_r28676953"},"pull_request":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27","id":33622102,"html_url":"https://github.com/elavretskiy/flashcards/pull/27","diff_url":"https://github.com/elavretskiy/flashcards/pull/27.diff","patch_url":"https://github.com/elavretskiy/flashcards/pull/27.patch","issue_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/27","number":27,"state":"open","locked":false,"title":"Invite friends","user":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-19T17:13:14Z","updated_at":"2015-04-20T10:07:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f693b680af24f96d56462689060af34517cbc303","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27/commits","review_comments_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27/comments","review_comment_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/27/comments","statuses_url":"https://api.github.com/repos/elavretskiy/flashcards/statuses/aa9118b47fe7ca6b4b602174ad29b45021d847eb","head":{"label":"elavretskiy:invite_friends","ref":"invite_friends","sha":"aa9118b47fe7ca6b4b602174ad29b45021d847eb","user":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"repo":{"id":32740872,"name":"flashcards","full_name":"elavretskiy/flashcards","owner":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elavretskiy/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/elavretskiy/flashcards","forks_url":"https://api.github.com/repos/elavretskiy/flashcards/forks","keys_url":"https://api.github.com/repos/elavretskiy/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elavretskiy/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elavretskiy/flashcards/teams","hooks_url":"https://api.github.com/repos/elavretskiy/flashcards/hooks","issue_events_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/elavretskiy/flashcards/events","assignees_url":"https://api.github.com/repos/elavretskiy/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/elavretskiy/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/elavretskiy/flashcards/tags","blobs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elavretskiy/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/elavretskiy/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elavretskiy/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/elavretskiy/flashcards/languages","stargazers_url":"https://api.github.com/repos/elavretskiy/flashcards/stargazers","contributors_url":"https://api.github.com/repos/elavretskiy/flashcards/contributors","subscribers_url":"https://api.github.com/repos/elavretskiy/flashcards/subscribers","subscription_url":"https://api.github.com/repos/elavretskiy/flashcards/subscription","commits_url":"https://api.github.com/repos/elavretskiy/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/elavretskiy/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/elavretskiy/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/elavretskiy/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/elavretskiy/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elavretskiy/flashcards/merges","archive_url":"https://api.github.com/repos/elavretskiy/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elavretskiy/flashcards/downloads","issues_url":"https://api.github.com/repos/elavretskiy/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/elavretskiy/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/elavretskiy/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elavretskiy/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/elavretskiy/flashcards/releases{/id}","created_at":"2015-03-23T15:28:49Z","updated_at":"2015-04-19T11:12:11Z","pushed_at":"2015-04-20T09:41:55Z","git_url":"git://github.com/elavretskiy/flashcards.git","ssh_url":"git@github.com:elavretskiy/flashcards.git","clone_url":"https://github.com/elavretskiy/flashcards.git","svn_url":"https://github.com/elavretskiy/flashcards","homepage":null,"size":1208,"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":"elavretskiy:master","ref":"master","sha":"0de326b54cbb075e061c511b3215a4dd04ecfea5","user":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"repo":{"id":32740872,"name":"flashcards","full_name":"elavretskiy/flashcards","owner":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elavretskiy/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/elavretskiy/flashcards","forks_url":"https://api.github.com/repos/elavretskiy/flashcards/forks","keys_url":"https://api.github.com/repos/elavretskiy/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elavretskiy/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elavretskiy/flashcards/teams","hooks_url":"https://api.github.com/repos/elavretskiy/flashcards/hooks","issue_events_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/elavretskiy/flashcards/events","assignees_url":"https://api.github.com/repos/elavretskiy/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/elavretskiy/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/elavretskiy/flashcards/tags","blobs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elavretskiy/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/elavretskiy/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elavretskiy/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/elavretskiy/flashcards/languages","stargazers_url":"https://api.github.com/repos/elavretskiy/flashcards/stargazers","contributors_url":"https://api.github.com/repos/elavretskiy/flashcards/contributors","subscribers_url":"https://api.github.com/repos/elavretskiy/flashcards/subscribers","subscription_url":"https://api.github.com/repos/elavretskiy/flashcards/subscription","commits_url":"https://api.github.com/repos/elavretskiy/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/elavretskiy/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/elavretskiy/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/elavretskiy/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/elavretskiy/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elavretskiy/flashcards/merges","archive_url":"https://api.github.com/repos/elavretskiy/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elavretskiy/flashcards/downloads","issues_url":"https://api.github.com/repos/elavretskiy/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/elavretskiy/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/elavretskiy/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elavretskiy/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/elavretskiy/flashcards/releases{/id}","created_at":"2015-03-23T15:28:49Z","updated_at":"2015-04-19T11:12:11Z","pushed_at":"2015-04-20T09:41:55Z","git_url":"git://github.com/elavretskiy/flashcards.git","ssh_url":"git@github.com:elavretskiy/flashcards.git","clone_url":"https://github.com/elavretskiy/flashcards.git","svn_url":"https://github.com/elavretskiy/flashcards","homepage":null,"size":1208,"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/elavretskiy/flashcards/pulls/27"},"html":{"href":"https://github.com/elavretskiy/flashcards/pull/27"},"issue":{"href":"https://api.github.com/repos/elavretskiy/flashcards/issues/27"},"comments":{"href":"https://api.github.com/repos/elavretskiy/flashcards/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/elavretskiy/flashcards/statuses/aa9118b47fe7ca6b4b602174ad29b45021d847eb"}}}}