Sha256: f82f9d35a9ad4c7a81c970cccc1e8ef7b7f2b62592a051f91274656c522729a5

Contents?: true

Size: 621 Bytes

Versions: 33

Compression:

Stored size: 621 Bytes

Contents

# TODO
# This file is provided as an example and should be removed
# See README for explanation
# class Entities::SubEntities::Lead < Maestrano::Connector::Rails::SubEntityBase

#   def self.external?
#     true
#   end

#   def self.entity_name
#     'lead'
#   end

#   def self.mapper_classes
#     {
#       'person' => Entities::SubEntities::LeadMapper
#     }
#   end

#   def self.object_name_from_connec_entity_hash(entity)
#     "#{entity['first_name']} #{entity['last_name']}"
#   end

#   def self.object_name_from_external_entity_hash(entity)
#     "#{entity['FirstName']} #{entity['LastName']}"
#   end
# 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.rb
maestrano-connector-rails-1.3.3 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.3.2 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.3.1 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.3.0 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.2.3 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.2.2 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.2.1 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.2.0 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.1.2 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.1.1 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.1.0 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.0.4 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.0.3 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.0.2 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.0.1 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-1.0.0 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-0.4.4 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-0.4.3 lib/generators/connector/templates/complex_entity_example/lead.rb
maestrano-connector-rails-0.4.2 lib/generators/connector/templates/complex_entity_example/lead.rb