No release in over 3 years
Low commit activity in last 3 years
It just wraps JSON responses so that you can easily do response.a.b.c instead of response['a']['b']['c'].
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
>= 0
>= 0
~> 10.0
>= 0
~> 0.50.0

Runtime

 Project Readme

Easy REST Client

Easy REST Client is a tiny wrapper around the popular rest-client gem.

It just wraps JSON responses so that you can easily do response.a.b.c instead of response['a']['b']['c'].

Useful when you want to quickly consume APIs that do not provide dedicated libraries, but still want the comfort of the object dot notation.

Installation

gem install easy-rest-client

Usage

response = EasyRestClient.get 'http://some-api.com/coconuts/1'
response.weight_in_pounds #=> 3.2

Contributing

Bug reports and pull requests are welcome.