Sha256: 6ec73f6f09a971ed001f90b8b7d6fa98d09aeaba568f1c803d3d9447652c8890

Contents?: true

Size: 593 Bytes

Versions: 33

Compression:

Stored size: 593 Bytes

Contents

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

#   after_denormalize do |input, output|
#     output[:is_lead] = true
#     output
#   end

#   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('lead_source'), to('LeadSource')
#   map from('lead_status'), to('Status')
#   map from('lead_conversion_date'), to('ConvertedDate')
# end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.4.1 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.4.0 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.13 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.12 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.11 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.10 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.9 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.8 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.7 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.6 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.5 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.4 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.3.3 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb