Module: Her::Model::Parse
Overview
This module handles resource data parsing at the model level (after the parsing middleware)
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#to_params ⇒ Object
Convert into a hash of request parameters, based on ‘include_root_in_json`.
Instance Method Details
#to_params ⇒ Object
Convert into a hash of request parameters, based on ‘include_root_in_json`.
12 13 14 |
# File 'lib/her/model/parse.rb', line 12 def to_params self.class.to_params(attributes, changes) end |