Class: TheCity::FamilyMember
- Defined in:
- lib/api/family_member.rb
Constant Summary collapse
- Roles =
{:spouse => 'Spouse', :child => 'Child', :temp_child => 'TempChild', :legal_child => 'LegalChild'}
Instance Attribute Summary
Attributes inherited from ApiObject
#error_messages, #marked_for_destruction
Instance Method Summary collapse
-
#initialize(json_data = nil) ⇒ FamilyMember
constructor
Constructor.
Methods inherited from ApiObject
__tc_attributes, #delete, #initialize_from_json_object, #is_deleted?, #save, #set_attributes, tc_attr_accessor, #to_attributes
Constructor Details
#initialize(json_data = nil) ⇒ FamilyMember
Constructor.
21 22 23 |
# File 'lib/api/family_member.rb', line 21 def initialize(json_data = nil) initialize_from_json_object(json_data) unless json_data.nil? end |