Registry / http-client / active-rest-client

active-rest-client

JSON →
library1.2.0rbrubygemsunverified

Accesses REST services in an ActiveRecord style.

gem install active_rest_client
INSTALL
IMPORT
SIG · ACTIVE-REST-CLIENT
A
active-rest-client
http-clientrubyv1.2.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.

ActiveRestClient
require 'active_rest_client'

Define a REST resource and fetch a record

require 'active_rest_client' class User < ActiveRestClient::Base base_url 'https://api.example.com' end user = User.find(1)
Debug
Known issues
breakingRequires Ruby 2.0+; older versions may cause syntax errors.
fix
Upgrade Ruby to 2.0 or later.
affects: < 1.0.0
Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
44
Resources
active-rest-client — gem install active-rest-client · libregistry