Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (4 sloc) 222 Bytes
service :continuity_app do |data, payload|
hook_url = URI.parse("http://hooks.continuityapp.com/github_selfservice/v1/%d" % data['project_id'].to_i)
Net::HTTP.post_form(hook_url, :payload => JSON.generate(payload))
end