Sha256: fe183c11d0b5c23ea52685940d8dd22f2cc9574cfa449068f2304fc16f8c2cd6

Contents?: true

Size: 658 Bytes

Versions: 43

Compression:

Stored size: 658 Bytes

Contents

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

#   def self.external?
#     true
#   end

#   def self.entity_name
#     'contact'
#   end

#   def self.mapper_classes
#     {
#       'person' => 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

43 entries across 43 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.2.pre.RC5 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.2.pre.RC4 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.2.pre.RC3 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.2.pre.RC2 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.2.pre.RC1 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.1 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC13 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC12 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC11 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC10 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC9 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC8 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-1.5.0 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC7 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC6 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC5 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC4 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC3 lib/generators/connector/templates/complex_entity_example/contact.rb
maestrano-connector-rails-2.0.0.pre.RC2 lib/generators/connector/templates/complex_entity_example/contact.rb