{"action":"created","comment":{"url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/comments/90825242","pull_request_review_id":11339428,"id":90825242,"diff_hunk":"@@ -42,6 +42,17 @@ class Invitation < ActiveRecord::Base\n \n   scope :undelivered, -> { where(delivered: false) }\n   scope :with_reference_no, -> { where.not(reference_no: nil) }\n+  scope :by_communication_mode, -> (communication_mode_ids) do\n+    where(communication_mode_id: communication_mode_ids)\n+  end\n+\n+  def response","path":"app/models/invitation.rb","position":8,"original_position":8,"commit_id":"9799b854b7cd7463b441046bec771aa2738c181e","original_commit_id":"9799b854b7cd7463b441046bec771aa2738c181e","user":{"login":"bansalakhil","id":605,"avatar_url":"https://avatars.githubusercontent.com/u/605?v=3","gravatar_id":"","url":"https://api.github.com/users/bansalakhil","html_url":"https://github.com/bansalakhil","followers_url":"https://api.github.com/users/bansalakhil/followers","following_url":"https://api.github.com/users/bansalakhil/following{/other_user}","gists_url":"https://api.github.com/users/bansalakhil/gists{/gist_id}","starred_url":"https://api.github.com/users/bansalakhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansalakhil/subscriptions","organizations_url":"https://api.github.com/users/bansalakhil/orgs","repos_url":"https://api.github.com/users/bansalakhil/repos","events_url":"https://api.github.com/users/bansalakhil/events{/privacy}","received_events_url":"https://api.github.com/users/bansalakhil/received_events","type":"User","site_admin":false},"body":"response => courier_tracker_response","created_at":"2016-12-05T09:17:26Z","updated_at":"2016-12-05T09:17:26Z","html_url":"https://github.com/vinsol/jewelry_crm/pull/10#discussion_r90825242","pull_request_url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/comments/90825242"},"html":{"href":"https://github.com/vinsol/jewelry_crm/pull/10#discussion_r90825242"},"pull_request":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10","id":96476835,"html_url":"https://github.com/vinsol/jewelry_crm/pull/10","diff_url":"https://github.com/vinsol/jewelry_crm/pull/10.diff","patch_url":"https://github.com/vinsol/jewelry_crm/pull/10.patch","issue_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues/10","number":10,"state":"open","locked":false,"title":"with mailchimp service fixes","user":{"login":"bansalakhil","id":605,"avatar_url":"https://avatars.githubusercontent.com/u/605?v=3","gravatar_id":"","url":"https://api.github.com/users/bansalakhil","html_url":"https://github.com/bansalakhil","followers_url":"https://api.github.com/users/bansalakhil/followers","following_url":"https://api.github.com/users/bansalakhil/following{/other_user}","gists_url":"https://api.github.com/users/bansalakhil/gists{/gist_id}","starred_url":"https://api.github.com/users/bansalakhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansalakhil/subscriptions","organizations_url":"https://api.github.com/users/bansalakhil/orgs","repos_url":"https://api.github.com/users/bansalakhil/repos","events_url":"https://api.github.com/users/bansalakhil/events{/privacy}","received_events_url":"https://api.github.com/users/bansalakhil/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-05T06:43:46Z","updated_at":"2016-12-05T09:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2652a60fe81c6a7fdd9f51abe5637a31ab0a3b83","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10/commits","review_comments_url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10/comments","review_comment_url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues/10/comments","statuses_url":"https://api.github.com/repos/vinsol/jewelry_crm/statuses/9799b854b7cd7463b441046bec771aa2738c181e","head":{"label":"vinsol:mailchimp_service_fixes","ref":"mailchimp_service_fixes","sha":"9799b854b7cd7463b441046bec771aa2738c181e","user":{"login":"vinsol","id":72388,"avatar_url":"https://avatars.githubusercontent.com/u/72388?v=3","gravatar_id":"","url":"https://api.github.com/users/vinsol","html_url":"https://github.com/vinsol","followers_url":"https://api.github.com/users/vinsol/followers","following_url":"https://api.github.com/users/vinsol/following{/other_user}","gists_url":"https://api.github.com/users/vinsol/gists{/gist_id}","starred_url":"https://api.github.com/users/vinsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinsol/subscriptions","organizations_url":"https://api.github.com/users/vinsol/orgs","repos_url":"https://api.github.com/users/vinsol/repos","events_url":"https://api.github.com/users/vinsol/events{/privacy}","received_events_url":"https://api.github.com/users/vinsol/received_events","type":"Organization","site_admin":false},"repo":{"id":73471009,"name":"jewelry_crm","full_name":"vinsol/jewelry_crm","owner":{"login":"vinsol","id":72388,"avatar_url":"https://avatars.githubusercontent.com/u/72388?v=3","gravatar_id":"","url":"https://api.github.com/users/vinsol","html_url":"https://github.com/vinsol","followers_url":"https://api.github.com/users/vinsol/followers","following_url":"https://api.github.com/users/vinsol/following{/other_user}","gists_url":"https://api.github.com/users/vinsol/gists{/gist_id}","starred_url":"https://api.github.com/users/vinsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinsol/subscriptions","organizations_url":"https://api.github.com/users/vinsol/orgs","repos_url":"https://api.github.com/users/vinsol/repos","events_url":"https://api.github.com/users/vinsol/events{/privacy}","received_events_url":"https://api.github.com/users/vinsol/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vinsol/jewelry_crm","description":"Manish' training project ","fork":false,"url":"https://api.github.com/repos/vinsol/jewelry_crm","forks_url":"https://api.github.com/repos/vinsol/jewelry_crm/forks","keys_url":"https://api.github.com/repos/vinsol/jewelry_crm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinsol/jewelry_crm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinsol/jewelry_crm/teams","hooks_url":"https://api.github.com/repos/vinsol/jewelry_crm/hooks","issue_events_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues/events{/number}","events_url":"https://api.github.com/repos/vinsol/jewelry_crm/events","assignees_url":"https://api.github.com/repos/vinsol/jewelry_crm/assignees{/user}","branches_url":"https://api.github.com/repos/vinsol/jewelry_crm/branches{/branch}","tags_url":"https://api.github.com/repos/vinsol/jewelry_crm/tags","blobs_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinsol/jewelry_crm/statuses/{sha}","languages_url":"https://api.github.com/repos/vinsol/jewelry_crm/languages","stargazers_url":"https://api.github.com/repos/vinsol/jewelry_crm/stargazers","contributors_url":"https://api.github.com/repos/vinsol/jewelry_crm/contributors","subscribers_url":"https://api.github.com/repos/vinsol/jewelry_crm/subscribers","subscription_url":"https://api.github.com/repos/vinsol/jewelry_crm/subscription","commits_url":"https://api.github.com/repos/vinsol/jewelry_crm/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinsol/jewelry_crm/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinsol/jewelry_crm/contents/{+path}","compare_url":"https://api.github.com/repos/vinsol/jewelry_crm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinsol/jewelry_crm/merges","archive_url":"https://api.github.com/repos/vinsol/jewelry_crm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinsol/jewelry_crm/downloads","issues_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues{/number}","pulls_url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls{/number}","milestones_url":"https://api.github.com/repos/vinsol/jewelry_crm/milestones{/number}","notifications_url":"https://api.github.com/repos/vinsol/jewelry_crm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinsol/jewelry_crm/labels{/name}","releases_url":"https://api.github.com/repos/vinsol/jewelry_crm/releases{/id}","deployments_url":"https://api.github.com/repos/vinsol/jewelry_crm/deployments","created_at":"2016-11-11T11:06:26Z","updated_at":"2016-11-15T06:57:41Z","pushed_at":"2016-12-05T06:43:46Z","git_url":"git://github.com/vinsol/jewelry_crm.git","ssh_url":"git@github.com:vinsol/jewelry_crm.git","clone_url":"https://github.com/vinsol/jewelry_crm.git","svn_url":"https://github.com/vinsol/jewelry_crm","homepage":"http://jewelry_crm.domain4now.com/","size":686,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"vinsol:mailchimp_service","ref":"mailchimp_service","sha":"5840992c4376509c1edfdd839fe54d7f252fb030","user":{"login":"vinsol","id":72388,"avatar_url":"https://avatars.githubusercontent.com/u/72388?v=3","gravatar_id":"","url":"https://api.github.com/users/vinsol","html_url":"https://github.com/vinsol","followers_url":"https://api.github.com/users/vinsol/followers","following_url":"https://api.github.com/users/vinsol/following{/other_user}","gists_url":"https://api.github.com/users/vinsol/gists{/gist_id}","starred_url":"https://api.github.com/users/vinsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinsol/subscriptions","organizations_url":"https://api.github.com/users/vinsol/orgs","repos_url":"https://api.github.com/users/vinsol/repos","events_url":"https://api.github.com/users/vinsol/events{/privacy}","received_events_url":"https://api.github.com/users/vinsol/received_events","type":"Organization","site_admin":false},"repo":{"id":73471009,"name":"jewelry_crm","full_name":"vinsol/jewelry_crm","owner":{"login":"vinsol","id":72388,"avatar_url":"https://avatars.githubusercontent.com/u/72388?v=3","gravatar_id":"","url":"https://api.github.com/users/vinsol","html_url":"https://github.com/vinsol","followers_url":"https://api.github.com/users/vinsol/followers","following_url":"https://api.github.com/users/vinsol/following{/other_user}","gists_url":"https://api.github.com/users/vinsol/gists{/gist_id}","starred_url":"https://api.github.com/users/vinsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinsol/subscriptions","organizations_url":"https://api.github.com/users/vinsol/orgs","repos_url":"https://api.github.com/users/vinsol/repos","events_url":"https://api.github.com/users/vinsol/events{/privacy}","received_events_url":"https://api.github.com/users/vinsol/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vinsol/jewelry_crm","description":"Manish' training project ","fork":false,"url":"https://api.github.com/repos/vinsol/jewelry_crm","forks_url":"https://api.github.com/repos/vinsol/jewelry_crm/forks","keys_url":"https://api.github.com/repos/vinsol/jewelry_crm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinsol/jewelry_crm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinsol/jewelry_crm/teams","hooks_url":"https://api.github.com/repos/vinsol/jewelry_crm/hooks","issue_events_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues/events{/number}","events_url":"https://api.github.com/repos/vinsol/jewelry_crm/events","assignees_url":"https://api.github.com/repos/vinsol/jewelry_crm/assignees{/user}","branches_url":"https://api.github.com/repos/vinsol/jewelry_crm/branches{/branch}","tags_url":"https://api.github.com/repos/vinsol/jewelry_crm/tags","blobs_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinsol/jewelry_crm/statuses/{sha}","languages_url":"https://api.github.com/repos/vinsol/jewelry_crm/languages","stargazers_url":"https://api.github.com/repos/vinsol/jewelry_crm/stargazers","contributors_url":"https://api.github.com/repos/vinsol/jewelry_crm/contributors","subscribers_url":"https://api.github.com/repos/vinsol/jewelry_crm/subscribers","subscription_url":"https://api.github.com/repos/vinsol/jewelry_crm/subscription","commits_url":"https://api.github.com/repos/vinsol/jewelry_crm/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinsol/jewelry_crm/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinsol/jewelry_crm/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinsol/jewelry_crm/contents/{+path}","compare_url":"https://api.github.com/repos/vinsol/jewelry_crm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinsol/jewelry_crm/merges","archive_url":"https://api.github.com/repos/vinsol/jewelry_crm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinsol/jewelry_crm/downloads","issues_url":"https://api.github.com/repos/vinsol/jewelry_crm/issues{/number}","pulls_url":"https://api.github.com/repos/vinsol/jewelry_crm/pulls{/number}","milestones_url":"https://api.github.com/repos/vinsol/jewelry_crm/milestones{/number}","notifications_url":"https://api.github.com/repos/vinsol/jewelry_crm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinsol/jewelry_crm/labels{/name}","releases_url":"https://api.github.com/repos/vinsol/jewelry_crm/releases{/id}","deployments_url":"https://api.github.com/repos/vinsol/jewelry_crm/deployments","created_at":"2016-11-11T11:06:26Z","updated_at":"2016-11-15T06:57:41Z","pushed_at":"2016-12-05T06:43:46Z","git_url":"git://github.com/vinsol/jewelry_crm.git","ssh_url":"git@github.com:vinsol/jewelry_crm.git","clone_url":"https://github.com/vinsol/jewelry_crm.git","svn_url":"https://github.com/vinsol/jewelry_crm","homepage":"http://jewelry_crm.domain4now.com/","size":686,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10"},"html":{"href":"https://github.com/vinsol/jewelry_crm/pull/10"},"issue":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/issues/10"},"comments":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/vinsol/jewelry_crm/statuses/9799b854b7cd7463b441046bec771aa2738c181e"}}}}
{"actor":{"display_login":"bansalakhil"}}