Permalink
Browse files

Added Hubcap service.

  • Loading branch information...
1 parent c5d7e4e commit f770f6f1062afc8b703305fce884eec2ffa747ae @brodkin brodkin committed Oct 29, 2012
Showing with 7 additions and 0 deletions.
  1. +1 −0 docs/hubcap
  2. +6 −0 services/hubcap.rb
View
1 docs/hubcap
@@ -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.
View
6 services/hubcap.rb
@@ -0,0 +1,6 @@
+class Service::Hubcap < Service
+ def receive_push
+ http_post "http://hubcap.it/webhook",
+ :payload => payload.to_json
+ end
+end

0 comments on commit f770f6f

Please sign in to comment.