Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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"
Something went wrong with that request. Please try again.