Class: ApiMapper::ArrayMapper

Inherits:
Mapper
  • Object
show all
Defined in:
lib/api_mapper/mapper.rb

Class Method Summary collapse

Methods inherited from Mapper

attributes, #call, entity, relationship, transformation

Class Method Details

.factoryObject



64
65
66
# File 'lib/api_mapper/mapper.rb', line 64

def self.factory
  t(:map_array, super)
end

.mappingObject



60
61
62
# File 'lib/api_mapper/mapper.rb', line 60

def self.mapping
  t(:map_array, t(:symbolize_keys) >> super)
end