Module: Dozer

Defined in:
lib/dozer.rb,
lib/dozer/version.rb,
lib/dozer/mapperable.rb

Defined Under Namespace

Modules: Mapperable Classes: Error

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.map(hash, mapper, options = {}) ⇒ Object

transform the data from one schema to another schema.



10
11
12
# File 'lib/dozer.rb', line 10

def self.map(hash, mapper, options={})
  mapper.transform(hash, options)
end