No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
nettle.gemspec

README.md

Nettle

A wrapper around net/http for a simplified API. Extremely feature lacking at the moment.

Installation

$ gem install nettle

Usage

response = Nettle.get("http://google.com")
response.body #=> lots of html

response = Nettle.post("http://google.com", foo: "bar")
response.code #=> "405"