Registry / web-framework / jsonapi-resources

jsonapi-resources

JSON →
library0.10.7rbrubygemsunverified

A resource-centric approach to implementing the controllers, routes, and serializers needed to support the JSON API spec.

gem install jsonapi-resources
INSTALL
IMPORT
SIG · JSONAPI-RESOURCES
J
jsonapi-resources
web-frameworkrubyv0.10.7
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.

JSONAPI
require 'jsonapi-resources'

Define a JSON API resource for a Post model

require 'jsonapi-resources' class PostResource < JSONAPI::Resource attributes :title, :body has_many :comments end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsonapi-resources — gem install jsonapi-resources · libregistry