Module: Assently::ApiMappers::PartyMapper

Defined in:
lib/assently/api_mappers/party_mapper.rb

Class Method Summary collapse

Class Method Details

.to_api(party) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/assently/api_mappers/party_mapper.rb', line 4

def self.to_api party
  {
    "Name" => party.name,
    "EmailAddress" => party.email,
    "SocialSecurityNumber" => party.social_security_number
  }
end