Class: JSONAPIonify::Structure::Maps::Relationships

Inherits:
Base show all
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

type!, value_is

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

#client?, #origin, #server?

Methods included from Callbacks

#run_callbacks

Constructor Details

This class inherits a constructor from JSONAPIonify::Structure::Objects::Base

Instance Method Details

#to_hObject



21
22
23
# File 'lib/jsonapionify/structure/maps/relationships.rb', line 21

def to_h
  super.sort.to_h
end