Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Hubcap service.

  • Loading branch information...
commit f770f6f1062afc8b703305fce884eec2ffa747ae 1 parent c5d7e4e
Ryan Brodkin brodkin authored
Showing with 7 additions and 0 deletions.
  1. +1 −0  docs/hubcap
  2. +6 −0 services/hubcap.rb
1  docs/hubcap
View
@@ -0,0 +1 @@
+Hubcap enables you to create a post-receive hook that automatically publishes your library's documentation to Github pages. Users must sign up at http://hubcap.it/ before the service will operate.
6 services/hubcap.rb
View
@@ -0,0 +1,6 @@
+class Service::Hubcap < Service
+ def receive_push
+ http_post "http://hubcap.it/webhook",
+ :payload => payload.to_json
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.