Sha256: bd33bbcbefb3ee341d06b7a4ae8a708daeefeadbf36690aba12420c036dcb47d
Contents?: true
Size: 513 Bytes
Versions: 11
Compression:
Stored size: 513 Bytes
Contents
# TODO # This file is provided as an example and should be removed # See README for explanation # class Entities::SubEntities::Contact < Maestrano::Connector::Rails::SubEntityBase # def external? # true # end # def entity_name # 'contact' # end # def map_to(name, entity, organization) # case name # when 'person' # Entities::SubEntities::ContactMapper.denormalize(entity) # else # raise "Impossible mapping from #{self.entity_name} to #{name}" # end # end # end
Version data entries
11 entries across 11 versions & 1 rubygems