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-0.3.3 | lib/generators/connector/templates/complex_entity_example/person.rb |