Class: RockRMS::Response::Person

Inherits:
Base
  • Object
show all
Defined in:
lib/rock_rms/response/person.rb

Constant Summary collapse

MAP =
{
  id:         'Id',
  name:       'FullName',
  email:      'Email',
  first_name: 'FirstName',
  last_name:  'LastName',
  giving_id:  'GivingId',
  giving_group_id: 'GivingGroupId',
  alias_id:   'PrimaryAliasId',
  connection_status_value_id: 'ConnectionStatusValueId'
}.freeze

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

format, #format, #initialize, #to_h

Constructor Details

This class inherits a constructor from RockRMS::Response::Base

Instance Method Details

#format_single(data) ⇒ Object



16
17
18
# File 'lib/rock_rms/response/person.rb', line 16

def format_single(data)
  to_h(MAP, data)
end