README.md in httpfiesta-0.0.1 vs README.md in httpfiesta-0.0.2

- old
+ new

@@ -1,9 +1,22 @@ -# Httpfiesta +# HTTPFiesta [![Build Status](https://travis-ci.org/cgthornt/httpfiesta.svg?branch=master)](https://travis-ci.org/cgthornt/httpfiesta) -TODO: Write a gem description +Verify and assert your HTTParty responses with ease! +## Usage +Basic usage: +```ruby +response = HTTParty.get 'http://example.com' +response.assert.status(200).content_type('application/json') +``` + +More advanced: +```ruby +response = HTTParty.get 'http://example.com' +response.assert.status(200..299).content_type(:json) +``` + ## Installation Add this line to your application's Gemfile: gem 'httpfiesta' @@ -14,16 +27,12 @@ Or install it yourself as: $ gem install httpfiesta -## Usage - -TODO: Write usage instructions here - ## Contributing -1. Fork it ( https://github.com/[my-github-username]/httpfiesta/fork ) +1. Fork it ( https://github.com/cgthornt/httpfiesta/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request