Sha256: f39a52bcc95a3a690f63d939eac8cb4b1cb30cf3726bcfd7ebbdb01654f53842
Contents?: true
Size: 525 Bytes
Versions: 11
Compression:
Stored size: 525 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 external? # true # end # def entity_name # 'lead' # end # def map_to(name, entity, organization) # case name # when 'person' # Entities::SubEntities::LeadMapper.denormalize(entity).merge(is_lead: true) # else # raise "Impossible mapping from #{self.entity_name} to #{name}" # end # end # end
Version data entries
11 entries across 11 versions & 1 rubygems