class Github::Repos::PubSubHubbub
def subscribe(*args)
:secret => '...'
:verify => 'sync',
'github://Email?address=peter-murach@gmail.com',
'https://github.com/:user/:repo/events/push',
github.repos.pubsubhubbub.subscribe
github = Github.new :oauth_token => '...'
= Examples
* callback - Required string - The URI to receive the updates to the topic.
* topic - Required string - The URI of the GitHub repository to subscribe to. The path must be in the format of /:user/:repo/events/:event.
= Parameters
Subscribe to existing topic/event through pubsubhubbub
def subscribe(*args) params = arguments(args, :required => [:topic, :callback]).params _merge_action!("subscribe", topic, callback, params) post_request("/hub", params, OPTIONS) end