Registry / http-client / json-api-client

json-api-client

JSON →
library1.24.0rbrubygemsunverified

Build client libraries compliant with the JSON API specification defined by jsonapi.org.

gem install json_api_client
INSTALL
IMPORT
SIG · JSON-API-CLIENT
J
json-api-client
http-clientrubyv1.24.0
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.

JsonApiClient
require 'json_api_client'

Define a resource class and fetch a record by ID.

require 'json_api_client' class MyResource < JsonApiClient::Resource self.site = 'https://api.example.com' end resource = MyResource.find(1) puts resource.attributes
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.24.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
json-api-client — gem install json-api-client · libregistry