Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
HTTP/REST client wrapper that provides a standard interface for making http requests using different http clients.
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
README.markdown
Rakefile
VERSION.yml
rest.gemspec

README.markdown

Rest Wrapper

Getting Started

Install the gem:

gem install rest

Create an IronMQ client object:

@rest = Rest::Client.new()

Then use it.

GET

@rest.get(url, options...)

options:

  • :params => query params for url
  • :headers => headers

POST

@rest.post(url, options...)

options:

  • :body => POST body
  • :headers => headers

DELETE

@rest.delete(url, options...)
Something went wrong with that request. Please try again.