caelum / restfulie

CRUD through HTTP is a good step forward to using resources and becoming RESTful. Another step further into it is to make use of hypermedia-based services and the Restfulie gem allows you to do it very quickly.
Other
393 stars 43 forks source link

method 'with' should set headers properly #81

Closed bernardeli closed 12 years ago

bernardeli commented 12 years ago

once you try Restifulie.at(some_url).with(some_headers), the headers options (some_headers in this case) wasn't being merged.

'with' method was merging headers (local variable) with itself and returning self (a restfulie object).