{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/shopify_app/issues/227","repository_url":"https://api.github.com/repos/Shopify/shopify_app","labels_url":"https://api.github.com/repos/Shopify/shopify_app/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/shopify_app/issues/227/comments","events_url":"https://api.github.com/repos/Shopify/shopify_app/issues/227/events","html_url":"https://github.com/Shopify/shopify_app/pull/227","id":139617159,"number":227,"title":"add add_webhook generator","user":{"login":"kevinhughes27","id":1965489,"avatar_url":"https://avatars.githubusercontent.com/u/1965489?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhughes27","html_url":"https://github.com/kevinhughes27","followers_url":"https://api.github.com/users/kevinhughes27/followers","following_url":"https://api.github.com/users/kevinhughes27/following{/other_user}","gists_url":"https://api.github.com/users/kevinhughes27/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhughes27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhughes27/subscriptions","organizations_url":"https://api.github.com/users/kevinhughes27/orgs","repos_url":"https://api.github.com/users/kevinhughes27/repos","events_url":"https://api.github.com/users/kevinhughes27/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhughes27/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shopify/shopify_app/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T15:56:50Z","updated_at":"2016-03-09T20:54:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Shopify/shopify_app/pulls/227","html_url":"https://github.com/Shopify/shopify_app/pull/227","diff_url":"https://github.com/Shopify/shopify_app/pull/227.diff","patch_url":"https://github.com/Shopify/shopify_app/pull/227.patch"},"body":"This PR adds a generator to accompany the new code for handling webhooks added in #217.\r\n\r\n#217 added a fairly specific and Rails style way of handling webhooks and given the convention it added I think it makes sense to add a generator to add new webhooks to your app. Its a simple generator and the code can be added manually if the docs are read and understood.\r\n\r\nThe generator:\r\n- Adds a new webhook to your ShopifyApp config\r\n- Adds a new webhook_job using the delegation name convention and adds the jobs perform method\r\n\r\nFor review:\r\n@Hammadk @nwtn @gavinballard "},"comment":{"url":"https://api.github.com/repos/Shopify/shopify_app/issues/comments/194503302","html_url":"https://github.com/Shopify/shopify_app/pull/227#issuecomment-194503302","issue_url":"https://api.github.com/repos/Shopify/shopify_app/issues/227","id":194503302,"user":{"login":"Hammadk","id":129764,"avatar_url":"https://avatars.githubusercontent.com/u/129764?v=3","gravatar_id":"","url":"https://api.github.com/users/Hammadk","html_url":"https://github.com/Hammadk","followers_url":"https://api.github.com/users/Hammadk/followers","following_url":"https://api.github.com/users/Hammadk/following{/other_user}","gists_url":"https://api.github.com/users/Hammadk/gists{/gist_id}","starred_url":"https://api.github.com/users/Hammadk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hammadk/subscriptions","organizations_url":"https://api.github.com/users/Hammadk/orgs","repos_url":"https://api.github.com/users/Hammadk/repos","events_url":"https://api.github.com/users/Hammadk/events{/privacy}","received_events_url":"https://api.github.com/users/Hammadk/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T20:54:35Z","updated_at":"2016-03-09T20:54:35Z","body":"LGTM"}}