Module: CollectionJson

Extended by:
ActiveSupport::Autoload
Defined in:
lib/collection_json.rb,
lib/collection_json/item.rb,
lib/collection_json/template.rb,
lib/collection_json/collection.rb,
lib/collection_json/exceptions.rb,
lib/collection_json/gem_version.rb

Overview

The template object contains all the input elements used to add or edit collection “records.” This is an OPTIONAL object and there MUST NOT be more than one template object in a Collection+JSON document. It is a top-level document property. The template object SHOULD have a data array child property.

Defined Under Namespace

Modules: Decorator, Rack Classes: Collection, Item, Template

Constant Summary collapse

InvalidJsonError =
Class.new Exception
InvalidUriError =
Class.new Exception
IncompatibleItem =
Class.new Exception
GEM_VERSION =
"0.0.2"