Sha256: ef7bfe6c9d428ef4b58c114023d7df28d9e6ba8e2340ffcfd5dc2a3f625b26e9

Contents?: true

Size: 608 Bytes

Versions: 11

Compression:

Stored size: 608 Bytes

Contents

# TODO
# This file is provided as an example and should be removed
# One such file needs to be created for each synchronizable entity,
# with its associated mapper

# class Entities::ExampleEntity < Maestrano::Connector::Rails::Entity
#   def connec_entity_name
#     'ExampleEntity'
#   end

#   def external_entity_name
#     'Contact'
#   end

#   def mapper_class
#     ExampleEntityMapper
#   end
# end

# class ExampleEntityMapper
#   extend HashMapper

#   map from('/title'), to('/Salutation')
#   map from('/first_name'), to('/FirstName')
#   map from('address_work/billing2/city'), to('City')
# end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.2.11 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.10 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.9 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.8 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.7 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.5 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.4 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.3 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.2 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.2.0 lib/generators/connector/templates/example_entity.rb
maestrano-connector-rails-0.0.1 lib/generators/connector/templates/example_entity.rb