{"action":"created","issue":{"url":"https://api.github.com/repos/wanelo/lapine/issues/5","labels_url":"https://api.github.com/repos/wanelo/lapine/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/wanelo/lapine/issues/5/comments","events_url":"https://api.github.com/repos/wanelo/lapine/issues/5/events","html_url":"https://github.com/wanelo/lapine/issues/5","id":75359221,"number":5,"title":"Add method name in handler config","user":{"login":"mattcamuto","id":799306,"avatar_url":"https://avatars.githubusercontent.com/u/799306?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcamuto","html_url":"https://github.com/mattcamuto","followers_url":"https://api.github.com/users/mattcamuto/followers","following_url":"https://api.github.com/users/mattcamuto/following{/other_user}","gists_url":"https://api.github.com/users/mattcamuto/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcamuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcamuto/subscriptions","organizations_url":"https://api.github.com/users/mattcamuto/orgs","repos_url":"https://api.github.com/users/mattcamuto/repos","events_url":"https://api.github.com/users/mattcamuto/events{/privacy}","received_events_url":"https://api.github.com/users/mattcamuto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wanelo/lapine/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-11T21:13:37Z","updated_at":"2015-05-11T21:41:04Z","closed_at":null,"body":"It would be great to specify the delegate method in the q-binding config. In case we want specialized methods. For example\r\n\r\n````ruby\r\nqueues:\r\n - q: my-handler\r\n   topic: efrafa.topic\r\n   routing_key: *\r\n   method: handle_my_custom_webhook\r\n   handlers:\r\n     - MyHandler\r\n````\r\n\r\nThis would allow one class to have multiple entry point methods if we wanted. For example a 'Webhook' handler class that could act on different types of web-hooks in a concrete fashion.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wanelo/lapine/issues/comments/101057281","html_url":"https://github.com/wanelo/lapine/issues/5#issuecomment-101057281","issue_url":"https://api.github.com/repos/wanelo/lapine/issues/5","id":101057281,"user":{"login":"sax","id":77073,"avatar_url":"https://avatars.githubusercontent.com/u/77073?v=3","gravatar_id":"","url":"https://api.github.com/users/sax","html_url":"https://github.com/sax","followers_url":"https://api.github.com/users/sax/followers","following_url":"https://api.github.com/users/sax/following{/other_user}","gists_url":"https://api.github.com/users/sax/gists{/gist_id}","starred_url":"https://api.github.com/users/sax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sax/subscriptions","organizations_url":"https://api.github.com/users/sax/orgs","repos_url":"https://api.github.com/users/sax/repos","events_url":"https://api.github.com/users/sax/events{/privacy}","received_events_url":"https://api.github.com/users/sax/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T21:41:04Z","updated_at":"2015-05-11T21:41:04Z","body":"We'll need to pass more information into the dispatcher, but I don't think this will add very much complexity."}}