{"action":"created","comment":{"url":"https://api.github.com/repos/diacode/billing/pulls/comments/31706374","id":31706374,"diff_hunk":"@@ -0,0 +1,19 @@\n+class ChatNotifications::Providers::Slack\n+  WEBHOOK_URL = ::BillingConfig['notifications']['webhook_url']\n+  CHANNEL = ::BillingConfig['notifications']['room']","path":"app/services/chat_notifications/providers/slack.rb","position":3,"original_position":3,"commit_id":"be9647d9f93db25b2e49e7788ec6bf37127016b1","original_commit_id":"be9647d9f93db25b2e49e7788ec6bf37127016b1","user":{"login":"achru","id":4783358,"avatar_url":"https://avatars.githubusercontent.com/u/4783358?v=3","gravatar_id":"","url":"https://api.github.com/users/achru","html_url":"https://github.com/achru","followers_url":"https://api.github.com/users/achru/followers","following_url":"https://api.github.com/users/achru/following{/other_user}","gists_url":"https://api.github.com/users/achru/gists{/gist_id}","starred_url":"https://api.github.com/users/achru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achru/subscriptions","organizations_url":"https://api.github.com/users/achru/orgs","repos_url":"https://api.github.com/users/achru/repos","events_url":"https://api.github.com/users/achru/events{/privacy}","received_events_url":"https://api.github.com/users/achru/received_events","type":"User","site_admin":false},"body":"so down in client i dont need channel: channel ?\r\n\r\ndo i need username ?","created_at":"2015-06-04T09:41:55Z","updated_at":"2015-06-04T09:41:55Z","html_url":"https://github.com/diacode/billing/pull/3#discussion_r31706374","pull_request_url":"https://api.github.com/repos/diacode/billing/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/diacode/billing/pulls/comments/31706374"},"html":{"href":"https://github.com/diacode/billing/pull/3#discussion_r31706374"},"pull_request":{"href":"https://api.github.com/repos/diacode/billing/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/diacode/billing/pulls/3","id":36916753,"html_url":"https://github.com/diacode/billing/pull/3","diff_url":"https://github.com/diacode/billing/pull/3.diff","patch_url":"https://github.com/diacode/billing/pull/3.patch","issue_url":"https://api.github.com/repos/diacode/billing/issues/3","number":3,"state":"open","locked":false,"title":"Notifications splitted depending on configuration","user":{"login":"achru","id":4783358,"avatar_url":"https://avatars.githubusercontent.com/u/4783358?v=3","gravatar_id":"","url":"https://api.github.com/users/achru","html_url":"https://github.com/achru","followers_url":"https://api.github.com/users/achru/followers","following_url":"https://api.github.com/users/achru/following{/other_user}","gists_url":"https://api.github.com/users/achru/gists{/gist_id}","starred_url":"https://api.github.com/users/achru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achru/subscriptions","organizations_url":"https://api.github.com/users/achru/orgs","repos_url":"https://api.github.com/users/achru/repos","events_url":"https://api.github.com/users/achru/events{/privacy}","received_events_url":"https://api.github.com/users/achru/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-04T09:29:38Z","updated_at":"2015-06-04T09:41:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bfb5e3625f282963ee953ade965450c4ed19edb7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diacode/billing/pulls/3/commits","review_comments_url":"https://api.github.com/repos/diacode/billing/pulls/3/comments","review_comment_url":"https://api.github.com/repos/diacode/billing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diacode/billing/issues/3/comments","statuses_url":"https://api.github.com/repos/diacode/billing/statuses/be9647d9f93db25b2e49e7788ec6bf37127016b1","head":{"label":"diacode:notifications-splitted","ref":"notifications-splitted","sha":"be9647d9f93db25b2e49e7788ec6bf37127016b1","user":{"login":"diacode","id":837237,"avatar_url":"https://avatars.githubusercontent.com/u/837237?v=3","gravatar_id":"","url":"https://api.github.com/users/diacode","html_url":"https://github.com/diacode","followers_url":"https://api.github.com/users/diacode/followers","following_url":"https://api.github.com/users/diacode/following{/other_user}","gists_url":"https://api.github.com/users/diacode/gists{/gist_id}","starred_url":"https://api.github.com/users/diacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diacode/subscriptions","organizations_url":"https://api.github.com/users/diacode/orgs","repos_url":"https://api.github.com/users/diacode/repos","events_url":"https://api.github.com/users/diacode/events{/privacy}","received_events_url":"https://api.github.com/users/diacode/received_events","type":"Organization","site_admin":false},"repo":{"id":36721064,"name":"billing","full_name":"diacode/billing","owner":{"login":"diacode","id":837237,"avatar_url":"https://avatars.githubusercontent.com/u/837237?v=3","gravatar_id":"","url":"https://api.github.com/users/diacode","html_url":"https://github.com/diacode","followers_url":"https://api.github.com/users/diacode/followers","following_url":"https://api.github.com/users/diacode/following{/other_user}","gists_url":"https://api.github.com/users/diacode/gists{/gist_id}","starred_url":"https://api.github.com/users/diacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diacode/subscriptions","organizations_url":"https://api.github.com/users/diacode/orgs","repos_url":"https://api.github.com/users/diacode/repos","events_url":"https://api.github.com/users/diacode/events{/privacy}","received_events_url":"https://api.github.com/users/diacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diacode/billing","description":"Diacode internal tool for invoicing with time tracking services integration","fork":false,"url":"https://api.github.com/repos/diacode/billing","forks_url":"https://api.github.com/repos/diacode/billing/forks","keys_url":"https://api.github.com/repos/diacode/billing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diacode/billing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diacode/billing/teams","hooks_url":"https://api.github.com/repos/diacode/billing/hooks","issue_events_url":"https://api.github.com/repos/diacode/billing/issues/events{/number}","events_url":"https://api.github.com/repos/diacode/billing/events","assignees_url":"https://api.github.com/repos/diacode/billing/assignees{/user}","branches_url":"https://api.github.com/repos/diacode/billing/branches{/branch}","tags_url":"https://api.github.com/repos/diacode/billing/tags","blobs_url":"https://api.github.com/repos/diacode/billing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diacode/billing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diacode/billing/git/refs{/sha}","trees_url":"https://api.github.com/repos/diacode/billing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diacode/billing/statuses/{sha}","languages_url":"https://api.github.com/repos/diacode/billing/languages","stargazers_url":"https://api.github.com/repos/diacode/billing/stargazers","contributors_url":"https://api.github.com/repos/diacode/billing/contributors","subscribers_url":"https://api.github.com/repos/diacode/billing/subscribers","subscription_url":"https://api.github.com/repos/diacode/billing/subscription","commits_url":"https://api.github.com/repos/diacode/billing/commits{/sha}","git_commits_url":"https://api.github.com/repos/diacode/billing/git/commits{/sha}","comments_url":"https://api.github.com/repos/diacode/billing/comments{/number}","issue_comment_url":"https://api.github.com/repos/diacode/billing/issues/comments{/number}","contents_url":"https://api.github.com/repos/diacode/billing/contents/{+path}","compare_url":"https://api.github.com/repos/diacode/billing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diacode/billing/merges","archive_url":"https://api.github.com/repos/diacode/billing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diacode/billing/downloads","issues_url":"https://api.github.com/repos/diacode/billing/issues{/number}","pulls_url":"https://api.github.com/repos/diacode/billing/pulls{/number}","milestones_url":"https://api.github.com/repos/diacode/billing/milestones{/number}","notifications_url":"https://api.github.com/repos/diacode/billing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diacode/billing/labels{/name}","releases_url":"https://api.github.com/repos/diacode/billing/releases{/id}","created_at":"2015-06-02T09:00:57Z","updated_at":"2015-06-02T16:56:33Z","pushed_at":"2015-06-04T09:29:39Z","git_url":"git://github.com/diacode/billing.git","ssh_url":"git@github.com:diacode/billing.git","clone_url":"https://github.com/diacode/billing.git","svn_url":"https://github.com/diacode/billing","homepage":null,"size":0,"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":"diacode:master","ref":"master","sha":"049e3aed831e65e8d98ff9d9661a24790171e78c","user":{"login":"diacode","id":837237,"avatar_url":"https://avatars.githubusercontent.com/u/837237?v=3","gravatar_id":"","url":"https://api.github.com/users/diacode","html_url":"https://github.com/diacode","followers_url":"https://api.github.com/users/diacode/followers","following_url":"https://api.github.com/users/diacode/following{/other_user}","gists_url":"https://api.github.com/users/diacode/gists{/gist_id}","starred_url":"https://api.github.com/users/diacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diacode/subscriptions","organizations_url":"https://api.github.com/users/diacode/orgs","repos_url":"https://api.github.com/users/diacode/repos","events_url":"https://api.github.com/users/diacode/events{/privacy}","received_events_url":"https://api.github.com/users/diacode/received_events","type":"Organization","site_admin":false},"repo":{"id":36721064,"name":"billing","full_name":"diacode/billing","owner":{"login":"diacode","id":837237,"avatar_url":"https://avatars.githubusercontent.com/u/837237?v=3","gravatar_id":"","url":"https://api.github.com/users/diacode","html_url":"https://github.com/diacode","followers_url":"https://api.github.com/users/diacode/followers","following_url":"https://api.github.com/users/diacode/following{/other_user}","gists_url":"https://api.github.com/users/diacode/gists{/gist_id}","starred_url":"https://api.github.com/users/diacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diacode/subscriptions","organizations_url":"https://api.github.com/users/diacode/orgs","repos_url":"https://api.github.com/users/diacode/repos","events_url":"https://api.github.com/users/diacode/events{/privacy}","received_events_url":"https://api.github.com/users/diacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diacode/billing","description":"Diacode internal tool for invoicing with time tracking services integration","fork":false,"url":"https://api.github.com/repos/diacode/billing","forks_url":"https://api.github.com/repos/diacode/billing/forks","keys_url":"https://api.github.com/repos/diacode/billing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diacode/billing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diacode/billing/teams","hooks_url":"https://api.github.com/repos/diacode/billing/hooks","issue_events_url":"https://api.github.com/repos/diacode/billing/issues/events{/number}","events_url":"https://api.github.com/repos/diacode/billing/events","assignees_url":"https://api.github.com/repos/diacode/billing/assignees{/user}","branches_url":"https://api.github.com/repos/diacode/billing/branches{/branch}","tags_url":"https://api.github.com/repos/diacode/billing/tags","blobs_url":"https://api.github.com/repos/diacode/billing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diacode/billing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diacode/billing/git/refs{/sha}","trees_url":"https://api.github.com/repos/diacode/billing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diacode/billing/statuses/{sha}","languages_url":"https://api.github.com/repos/diacode/billing/languages","stargazers_url":"https://api.github.com/repos/diacode/billing/stargazers","contributors_url":"https://api.github.com/repos/diacode/billing/contributors","subscribers_url":"https://api.github.com/repos/diacode/billing/subscribers","subscription_url":"https://api.github.com/repos/diacode/billing/subscription","commits_url":"https://api.github.com/repos/diacode/billing/commits{/sha}","git_commits_url":"https://api.github.com/repos/diacode/billing/git/commits{/sha}","comments_url":"https://api.github.com/repos/diacode/billing/comments{/number}","issue_comment_url":"https://api.github.com/repos/diacode/billing/issues/comments{/number}","contents_url":"https://api.github.com/repos/diacode/billing/contents/{+path}","compare_url":"https://api.github.com/repos/diacode/billing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diacode/billing/merges","archive_url":"https://api.github.com/repos/diacode/billing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diacode/billing/downloads","issues_url":"https://api.github.com/repos/diacode/billing/issues{/number}","pulls_url":"https://api.github.com/repos/diacode/billing/pulls{/number}","milestones_url":"https://api.github.com/repos/diacode/billing/milestones{/number}","notifications_url":"https://api.github.com/repos/diacode/billing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diacode/billing/labels{/name}","releases_url":"https://api.github.com/repos/diacode/billing/releases{/id}","created_at":"2015-06-02T09:00:57Z","updated_at":"2015-06-02T16:56:33Z","pushed_at":"2015-06-04T09:29:39Z","git_url":"git://github.com/diacode/billing.git","ssh_url":"git@github.com:diacode/billing.git","clone_url":"https://github.com/diacode/billing.git","svn_url":"https://github.com/diacode/billing","homepage":null,"size":0,"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/diacode/billing/pulls/3"},"html":{"href":"https://github.com/diacode/billing/pull/3"},"issue":{"href":"https://api.github.com/repos/diacode/billing/issues/3"},"comments":{"href":"https://api.github.com/repos/diacode/billing/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/diacode/billing/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/diacode/billing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diacode/billing/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/diacode/billing/statuses/be9647d9f93db25b2e49e7788ec6bf37127016b1"}}}}