Skip to content

Commit

Permalink
Added delete to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Dec 18, 2011
1 parent bfa69cf commit 5383c10
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.