Sha256: e0585c4bf8d4d8c4bde1ac6cafb9f83921fe4a897e40511da1ed7f5b9c8bb501

Contents?: true

Size: 520 Bytes

Versions: 5

Compression:

Stored size: 520 Bytes

Contents

module RockRMS
  module Response
    class Person < Base
      MAP = {
        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',
        record_type_value_id: 'RecordTypeValueId'
      }.freeze

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rock_rms-8.4.0 lib/rock_rms/response/person.rb
rock_rms-8.3.0 lib/rock_rms/response/person.rb
rock_rms-8.2.1 lib/rock_rms/response/person.rb
rock_rms-8.2.0 lib/rock_rms/response/person.rb
rock_rms-8.1.0 lib/rock_rms/response/person.rb