Module: Granola::Serializer::Schema::ClassMethods
- Defined in:
- lib/granola/schema.rb
Instance Method Summary collapse
-
#schema ⇒ Object
Public: The schema definition for entities emitted by this serializer.
Instance Method Details
#schema ⇒ Object
Public: The schema definition for entities emitted by this serializer.
Returns a Hash that complies to JSON schema.
18 19 20 |
# File 'lib/granola/schema.rb', line 18 def schema fail NotImplementedError end |