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-1.3.4 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.3.3 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.3.2 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.3.1 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.3.0 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.2.3 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.2.2 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.2.1 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.2.0 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.1.2 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.1.1 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.1.0 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.0.4 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.0.3 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.0.2 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.0.1 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-1.0.0 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.4.4 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.4.3 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb
maestrano-connector-rails-0.4.2 lib/generators/connector/templates/complex_entity_example/lead_mapper.rb