Module: Roar::JSON::JSONAPI
- Defined in:
- lib/roar/json/json_api.rb,
lib/roar/json/json_api/meta.rb,
lib/roar/json/json_api/options.rb,
lib/roar/json/json_api/version.rb,
lib/roar/json/json_api/defaults.rb,
lib/roar/json/json_api/document.rb,
lib/roar/json/json_api/declarative.rb,
lib/roar/json/json_api/member_name.rb,
lib/roar/json/json_api/for_collection.rb,
lib/roar/json/json_api/single_resource.rb,
lib/roar/json/json_api/resource_collection.rb
Defined Under Namespace
Modules: Declarative, Defaults, Document, ForCollection, Fragment, Meta, Mixin, Options, Renderer, ResourceCollection, SingleResource Classes: MemberName, Resource
Constant Summary collapse
- VERSION =
'0.0.3'.freeze
Class Method Summary collapse
-
.resource(type, options = {}) ⇒ Object
Include to define a JSON API Resource and make API methods available to your
Roar::Decorator
.