Sha256: 0a0e613b43045b82b75b7a388847142f71f88aaa859a1cd9a3b6a18c7cf69d58

Contents?: true

Size: 682 Bytes

Versions: 21

Compression:

Stored size: 682 Bytes

Contents

# TODO
# This file is provided as an example and should be removed
# See README for explanation
# class Enities::SubEntities::Person < Maestrano::Connector::Rails::SubEntityBase
#   def self.external?
#     false
#   end

#   def self.entity_name
#     'person'
#   end

#   def self.mapper_classes
#     {
#       'lead' => Entities::SubEntities::LeadMapper,
#       'contact' => Entities::SubEntities::ContactMapper,
#     }
#   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

21 entries across 21 versions & 1 rubygems

Version Path
maestrano-connector-rails-1.0.4 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-1.0.3 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-1.0.2 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-1.0.1 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-1.0.0 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.4.4 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.4.3 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.4.2 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.4.1 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.4.0 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.13 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.12 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.11 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.10 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.9 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.8 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.7 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.6 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.5 lib/generators/connector/templates/complex_entity_example/person.rb
maestrano-connector-rails-0.3.4 lib/generators/connector/templates/complex_entity_example/person.rb