Module: Mortymer::Moldeable

Included in:
Contract, Model
Defined in:
lib/mortymer/moldeable.rb

Overview

Interface for models to be able to be documentable and buildable from request inputs

Class Method Summary collapse

Class Method Details

.json_schemaObject

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/mortymer/moldeable.rb', line 7

def self.json_schema
  raise NotImplementedError
end

.structify(params = {}) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/mortymer/moldeable.rb', line 11

def self.structify(params = {})
  raise NotImplementedError
end