Permalink
Browse files

Clean up docs a bit.

  • Loading branch information...
1 parent 2a47c43 commit b82cd32c9cd6360dea885a7991189e1db0abf68c @seven1m committed Apr 23, 2012
Showing with 13 additions and 10 deletions.
  1. +13 −10 README.rdoc
View
@@ -51,25 +51,28 @@ Make sure you have latest version installed (1.0.0 or higher).
end
# Add a webhook to your Wufoo form.
+
# Any submission to this form will now post to the given url.
result = form.add_webhook('http://www.postbin.org/zh9iy1')
+
# Tell the webhook to include metadata in its postback
result = form.add_webhook('http://www.postbin.org/zh9iy1', true)
result = form.delete_webhook(result["WebHookPutResult"]["Hash"])
# Or, directly through wufoo:
result = wufoo.add_webhook(FORM_ID, 'http://www.postbin.org/zh9iy1')
- # Tell the webhook to include metadata in its postback
- result = wufoo.add_webhook(FORM_ID, 'http://www.postbin.org/zh9iy1', true)
-
- result = wufoo.delete_webhook(FORM_ID, result["WebHookPutResult"]["Hash"])
-
- # You can use the Login API (http://www.wufoo.com/docs/api/v3/login/), like so
- result = WuParty.login(myIntegrationKey, users_email, users_password)
-
- # or
- result = WuParty.login(myIntegrationKey, users_email, users_password, users_subdomain)
+
+ # Tell the webhook to include metadata in its postback
+ result = wufoo.add_webhook(FORM_ID, 'http://www.postbin.org/zh9iy1', true)
+
+ wufoo.delete_webhook(FORM_ID, result["WebHookPutResult"]["Hash"])
+
+ # You can use the Login API (http://www.wufoo.com/docs/api/v3/login/), like so:
+ result = WuParty.login(myIntegrationKey, users_email, users_password)
+
+ # or
+ result = WuParty.login(myIntegrationKey, users_email, users_password, users_subdomain)
== Feedback

0 comments on commit b82cd32

Please sign in to comment.