Module: JSON::Schematized::BasicWrapper::Models

Defined in:
lib/json/schematized/basic_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#attributesObject



85
86
87
# File 'lib/json/schematized/basic_wrapper.rb', line 85

def attributes
  self
end

#json_schema=(json_schema) ⇒ Object



89
90
91
# File 'lib/json/schematized/basic_wrapper.rb', line 89

def json_schema=(json_schema)
  extend BasicWrapper.modularize(json_schema)
end