Permalink
Browse files

Added delete to readme.

  • Loading branch information...
1 parent bfa69cf commit 5383c10e00c3ed674416d6052cc2cde73b144393 @treeder treeder committed Dec 18, 2011
Showing with 11 additions and 6 deletions.
  1. +11 −6 README.markdown
View
17 README.markdown
@@ -17,22 +17,27 @@ Then use it.
GET
=========
- @rest.get(full_url, options...)
+ @rest.get(url, options...)
options:
-- params - query params for url
-- headers
+- :params => query params for url
+- :headers => headers
POST
======
- @rest.post(full_url, options...)
+ @rest.post(url, options...)
options:
-- headers
-- body
+- :body => POST body
+- :headers => headers
+
+DELETE
+======
+
+ @rest.delete(url, options...)

0 comments on commit 5383c10

Please sign in to comment.