Sha256: fc30056296d0ed399669641f4becb0f077fa380d14775981b75cc89bc408ae15

Contents?: true

Size: 453 Bytes

Versions: 13

Compression:

Stored size: 453 Bytes

Contents

module RockRMS
  module Response
    class Person < Base
      MAP = {
        id:         'Id',
        name:       'FullName',
        email:      'Email',
        first_name: 'FirstName',
        last_name:  'LastName',
        giving_id:  'GivingId',
        alias_id:   'PrimaryAliasId',
        connection_status_value_id: 'ConnectionStatusValueId'
      }.freeze

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rock_rms-3.7.0 lib/rock_rms/response/person.rb
rock_rms-3.6.3 lib/rock_rms/response/person.rb
rock_rms-3.6.2 lib/rock_rms/response/person.rb
rock_rms-3.6.1 lib/rock_rms/response/person.rb
rock_rms-3.6.0 lib/rock_rms/response/person.rb
rock_rms-3.5.0 lib/rock_rms/response/person.rb
rock_rms-3.4.1 lib/rock_rms/response/person.rb
rock_rms-3.4.0 lib/rock_rms/response/person.rb
rock_rms-3.2.0 lib/rock_rms/response/person.rb
rock_rms-3.1.0 lib/rock_rms/response/person.rb
rock_rms-3.0.2 lib/rock_rms/response/person.rb
rock_rms-3.0.1 lib/rock_rms/response/person.rb
rock_rms-3.0.0 lib/rock_rms/response/person.rb