class Github::Repos::PubSubHubbub
def unsubscribe_service(*args)
github.repos.pubsubhubbub.unsubscribe_service 'user-name', 'repo-name', 'campfire'
github = Github.new :oauth_token => '...'
= Examples
* :event - Optional hash key for the type of event. The default event is push
* service-name - Required string
* repo-name - Required string,
= Parameters
Subscribe repository to service hook through pubsubhubbub
def unsubscribe_service(*args) params = arguments(args, :required => [:user, :repo, :service]).params event = params.delete('event') || 'push' topic = "#{site}/#{user}/#{repo}/events/#{event}" callback = "github://#{service}" unsubscribe(topic, callback) end