{"action":"created","issue":{"url":"https://api.github.com/repos/code-corps/code-corps-api/issues/102","labels_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/102/comments","events_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/102/events","html_url":"https://github.com/code-corps/code-corps-api/pull/102","id":121120494,"number":102,"title":"Add notifications","user":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/code-corps/code-corps-api/labels/needs%20work","name":"needs work","color":"fbca04"},{"url":"https://api.github.com/repos/code-corps/code-corps-api/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"begedin","id":1925540,"avatar_url":"https://avatars.githubusercontent.com/u/1925540?v=3","gravatar_id":"","url":"https://api.github.com/users/begedin","html_url":"https://github.com/begedin","followers_url":"https://api.github.com/users/begedin/followers","following_url":"https://api.github.com/users/begedin/following{/other_user}","gists_url":"https://api.github.com/users/begedin/gists{/gist_id}","starred_url":"https://api.github.com/users/begedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begedin/subscriptions","organizations_url":"https://api.github.com/users/begedin/orgs","repos_url":"https://api.github.com/users/begedin/repos","events_url":"https://api.github.com/users/begedin/events{/privacy}","received_events_url":"https://api.github.com/users/begedin/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-12-08T23:00:56Z","updated_at":"2015-12-11T07:36:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-corps/code-corps-api/pulls/102","html_url":"https://github.com/code-corps/code-corps-api/pull/102","diff_url":"https://github.com/code-corps/code-corps-api/pull/102.diff","patch_url":"https://github.com/code-corps/code-corps-api/pull/102.patch"},"body":"- [x] Add a polymorphic `Notification` model\r\n- [x] Add model specs for `Notification`\r\n- [x] Add a scenario for generating notifications for post user mentions\r\n- [x] Add a scenario for generating notifications for comment user mentions (depends on #100)\r\n- [x] Wrap scenario calls in workers\r\n- [ ] Call workers in transitions on models (to published or edited states on saved)\r\n- [ ] Write actual emails that will be sent\r\n- [ ] Write tests for emails"},"comment":{"url":"https://api.github.com/repos/code-corps/code-corps-api/issues/comments/163865679","html_url":"https://github.com/code-corps/code-corps-api/pull/102#issuecomment-163865679","issue_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/102","id":163865679,"user":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T07:36:29Z","updated_at":"2015-12-11T07:36:29Z","body":"@begedin I made some minor changes here. Would be good if you looked over changeset and decide if this is good to go.\r\n\r\nOne thing left to do, though is change that damned `update!` method to something better."}}