{"action":"created","comment":{"url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/comments/26311235","id":26311235,"diff_hunk":"@@ -12,5 +14,15 @@ module.exports = {\n     }).fail(function(err) {\n       console.log(\"error sending notification: \" + err.message);\n     });\n+  },\n+\n+  notifyInvitation: function() {\n+    return Parse.Push.send({\n+      where: new Parse.Query(Parse.Installation),","path":"cloud/notifications.js","position":15,"original_position":15,"commit_id":"f065f24270d08514936aa5ba3c37ed1765f872ef","original_commit_id":"f065f24270d08514936aa5ba3c37ed1765f872ef","user":{"login":"yonbergman","id":461578,"avatar_url":"https://avatars.githubusercontent.com/u/461578?v=3","gravatar_id":"","url":"https://api.github.com/users/yonbergman","html_url":"https://github.com/yonbergman","followers_url":"https://api.github.com/users/yonbergman/followers","following_url":"https://api.github.com/users/yonbergman/following{/other_user}","gists_url":"https://api.github.com/users/yonbergman/gists{/gist_id}","starred_url":"https://api.github.com/users/yonbergman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonbergman/subscriptions","organizations_url":"https://api.github.com/users/yonbergman/orgs","repos_url":"https://api.github.com/users/yonbergman/repos","events_url":"https://api.github.com/users/yonbergman/events{/privacy}","received_events_url":"https://api.github.com/users/yonbergman/received_events","type":"User","site_admin":false},"body":"Dry this everyone query","created_at":"2015-03-12T15:23:29Z","updated_at":"2015-03-12T15:23:29Z","html_url":"https://github.com/iic-ninjas/mokojin-cloud/pull/8#discussion_r26311235","pull_request_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/comments/26311235"},"html":{"href":"https://github.com/iic-ninjas/mokojin-cloud/pull/8#discussion_r26311235"},"pull_request":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8","id":31040001,"html_url":"https://github.com/iic-ninjas/mokojin-cloud/pull/8","diff_url":"https://github.com/iic-ninjas/mokojin-cloud/pull/8.diff","patch_url":"https://github.com/iic-ninjas/mokojin-cloud/pull/8.patch","issue_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/8","number":8,"state":"open","locked":false,"title":"Cloud function to send a \"TEKKEN TIME\" push notification","user":{"login":"udiWertheimer","id":574393,"avatar_url":"https://avatars.githubusercontent.com/u/574393?v=3","gravatar_id":"","url":"https://api.github.com/users/udiWertheimer","html_url":"https://github.com/udiWertheimer","followers_url":"https://api.github.com/users/udiWertheimer/followers","following_url":"https://api.github.com/users/udiWertheimer/following{/other_user}","gists_url":"https://api.github.com/users/udiWertheimer/gists{/gist_id}","starred_url":"https://api.github.com/users/udiWertheimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udiWertheimer/subscriptions","organizations_url":"https://api.github.com/users/udiWertheimer/orgs","repos_url":"https://api.github.com/users/udiWertheimer/repos","events_url":"https://api.github.com/users/udiWertheimer/events{/privacy}","received_events_url":"https://api.github.com/users/udiWertheimer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-12T14:24:10Z","updated_at":"2015-03-12T15:23:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5dd972871ec8f2b1bb7d19829897c9e4a7588176","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8/commits","review_comments_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8/comments","review_comment_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/8/comments","statuses_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/statuses/f065f24270d08514936aa5ba3c37ed1765f872ef","head":{"label":"iic-ninjas:sent-tekken-time-notification","ref":"sent-tekken-time-notification","sha":"f065f24270d08514936aa5ba3c37ed1765f872ef","user":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"repo":{"id":31588984,"name":"mokojin-cloud","full_name":"iic-ninjas/mokojin-cloud","owner":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iic-ninjas/mokojin-cloud","description":"","fork":false,"url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud","forks_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/forks","keys_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/events","assignees_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/merges","archive_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/releases{/id}","created_at":"2015-03-03T09:00:54Z","updated_at":"2015-03-11T16:59:12Z","pushed_at":"2015-03-12T14:47:49Z","git_url":"git://github.com/iic-ninjas/mokojin-cloud.git","ssh_url":"git@github.com:iic-ninjas/mokojin-cloud.git","clone_url":"https://github.com/iic-ninjas/mokojin-cloud.git","svn_url":"https://github.com/iic-ninjas/mokojin-cloud","homepage":null,"size":1756,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"iic-ninjas:master","ref":"master","sha":"4ad807d702ca921874caa1daaf508940d1027ce4","user":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"repo":{"id":31588984,"name":"mokojin-cloud","full_name":"iic-ninjas/mokojin-cloud","owner":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iic-ninjas/mokojin-cloud","description":"","fork":false,"url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud","forks_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/forks","keys_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/events","assignees_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/merges","archive_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/releases{/id}","created_at":"2015-03-03T09:00:54Z","updated_at":"2015-03-11T16:59:12Z","pushed_at":"2015-03-12T14:47:49Z","git_url":"git://github.com/iic-ninjas/mokojin-cloud.git","ssh_url":"git@github.com:iic-ninjas/mokojin-cloud.git","clone_url":"https://github.com/iic-ninjas/mokojin-cloud.git","svn_url":"https://github.com/iic-ninjas/mokojin-cloud","homepage":null,"size":1756,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8"},"html":{"href":"https://github.com/iic-ninjas/mokojin-cloud/pull/8"},"issue":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/8"},"comments":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/iic-ninjas/mokojin-cloud/statuses/f065f24270d08514936aa5ba3c37ed1765f872ef"}}}}