Class: JSONAPIonify::Structure::Maps::Relationships
- Inherits:
-
Base
- Object
- Objects::Base
- Base
- JSONAPIonify::Structure::Maps::Relationships
- Defined in:
- lib/jsonapionify/structure/maps/relationships.rb
Instance Attribute Summary
Attributes inherited from Objects::Base
#errors, #object, #parent, #warnings
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Objects::Base
#==, #===, #as_json, #compile, #compile!, #copy, define_order, from_hash, from_json, #initialize, #inspect, #pretty_json, #signature, #to_json, #validate
Methods included from Helpers::ObjectDefaults
Methods included from Helpers::Validations
#allowed_type_map, #permitted_key?, #permitted_keys, #permitted_type_for?, #permitted_types_for, #required_key?, #required_keys
Methods included from Helpers::ObjectSetters
Methods included from Helpers::InheritsOrigin
Methods included from Callbacks
Constructor Details
This class inherits a constructor from JSONAPIonify::Structure::Objects::Base
Instance Method Details
#to_h ⇒ Object
21 22 23 |
# File 'lib/jsonapionify/structure/maps/relationships.rb', line 21 def to_h super.sort.to_h end |