Class: HOALife::Properties::SupplementalMailingAddress
- Inherits:
-
Resource
- Object
- Resource
- HOALife::Properties::SupplementalMailingAddress
- Includes:
- Resources::Persistable
- Defined in:
- lib/hoalife/properties/supplemental_mailing_address.rb
Overview
:nodoc
Instance Method Summary collapse
Instance Method Details
#as_json ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/hoalife/properties/supplemental_mailing_address.rb', line 9 def as_json h = super h.dig('data', 'relationships').merge!( 'property' => { 'data' => { 'id' => property_id } } ) h end |