Class: Store::EntityMapper

Inherits:
Object
  • Object
show all
Defined in:
lib/store/entity_mapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(store) ⇒ EntityMapper

Returns a new instance of EntityMapper.



3
4
5
# File 'lib/store/entity_mapper.rb', line 3

def initialize(store)
  @store = store
end

Instance Method Details

#map(entity) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/store/entity_mapper.rb', line 7

def map(entity)
  raise NotImplementedError
end

#unmap(entity_class, mapped_entity) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/store/entity_mapper.rb', line 11

def unmap(entity_class, mapped_entity)
  raise NotImplementedError
end