hyperresource
hyperresource copied to clipboard
A self-inflating Ruby client for hypermedia APIs. Not under active development.
``` irb 2.1.2 :025 > api.transactions[1].description = 'foo' => "foo" 2.1.2 :026 > api.transactions[1].changed? => false 2.1.2 :027 > api.transactions[1].attributes => {"id"=>2, "description"=>"example", "amount"=>"0.1235E2", "credit_account_name"=>"debtor", "debit_account_name"=>"savings", "date"=>"2000-06-12 00:00:00 +0200"} 2.1.2...
Hi. I'm trying to use hyperresource to consume the following API from server: ``` JSON { "_links" : { "curies" : [ { "href" : "http://example.com/docs/{rel}", "name" : "common", "templated"...