Sha256: fc590239685bbe7a05d2c6c90a6a171358ad65ff131cb3d4ac6226a9701ae229

Contents?: true

Size: 469 Bytes

Versions: 8

Compression:

Stored size: 469 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'
      }.freeze

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rock_rms-8.0.0 lib/rock_rms/response/person.rb
rock_rms-7.4.0 lib/rock_rms/response/person.rb
rock_rms-7.3.0 lib/rock_rms/response/person.rb
rock_rms-7.2.0 lib/rock_rms/response/person.rb
rock_rms-7.1.2 lib/rock_rms/response/person.rb
rock_rms-7.1.1 lib/rock_rms/response/person.rb
rock_rms-7.1.0 lib/rock_rms/response/person.rb
rock_rms-7.0.3 lib/rock_rms/response/person.rb