Sha256: b73e255033cc74217d6907281148cb8e904548986031f74ad29434de774670ea

Contents?: true

Size: 718 Bytes

Versions: 43

Compression:

Stored size: 718 Bytes

Contents

# frozen_string_literal: true
# TODO
# This file is provided as an example and should be removed
# See README for explanation
# class Entities::SubEntities::ContactMapper
#   extend HashMapper

#   map from('title'), to('Salutation')
#   map from('first_name'), to('FirstName')
#   map from('last_name'), to('LastName'), default: 'Undefined'
#   map from('job_title'), to('Title')

#   map from('address_work/billing/line1'), to('MailingStreet')
#   map from('address_work/billing/city'), to('MailingCity')
#   map from('address_work/billing/region'), to('MailingState')
#   map from('address_work/billing/postal_code'), to('MailingPostalCode')
#   map from('address_work/billing/country'), to('MailingCountry')
# end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.0.pre.RC1 lib/generators/connector/templates/complex_entity_example/contact_mapper.rb
maestrano-connector-rails-1.4.0 lib/generators/connector/templates/complex_entity_example/contact_mapper.rb
maestrano-connector-rails-1.3.5 lib/generators/connector/templates/complex_entity_example/contact_mapper.rb