Class: RockRMS::Response::Person
- Defined in:
- lib/rock_rms/response/person.rb
Constant Summary collapse
- MAP =
{ id: 'Id', name: 'FullName', email: 'Email', email_preference: 'EmailPreference', first_name: 'FirstName', last_name: 'LastName', giving_id: 'GivingId', giving_group_id: 'GivingGroupId', alias_id: 'PrimaryAliasId', connection_status_value_id: 'ConnectionStatusValueId', record_type_value_id: 'RecordTypeValueId', primary_family_id: 'PrimaryFamilyId', }.freeze
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
format, #format, #format_attributes, #initialize, #to_h
Constructor Details
This class inherits a constructor from RockRMS::Response::Base
Instance Method Details
#format_single(data) ⇒ Object
19 20 21 |
# File 'lib/rock_rms/response/person.rb', line 19 def format_single(data) to_h(MAP, data) end |