Registry / http-client / hyperresource

hyperresource

JSON →
library0.9.4rbrubygemsunverified

HyperResource is a hypermedia client library for Ruby that interfaces with well-behaved hypermedia APIs and allows client-side data extension.

gem install hyperresource
INSTALL
IMPORT
SIG · HYPERRESOURCE
H
hyperresource
http-clientrubyv0.9.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HyperResource
require 'hyperresource'

Initialize a HyperResource client and fetch a resource

require 'hyperresource' api = HyperResource.new(root: 'https://api.example.com') resource = api.get puts resource.links['self'].href
Debug
Known issues
breakingRequires Ruby 2.0+
fix
Upgrade Ruby to version 2.0 or higher.
affects: < 0.9.0
Upgrade
Version history
0.9.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
Resources
hyperresource — gem install hyperresource · libregistry