Module: Dozer
- Defined in:
- lib/dozer.rb,
lib/dozer/rule.rb,
lib/dozer/version.rb,
lib/dozer/mapperable.rb
Defined Under Namespace
Modules: Mapperable Classes: Error, Rule
Constant Summary collapse
- VERSION =
"0.3.3"
Class Method Summary collapse
-
.map(hash, mapper, options = {}) ⇒ Object
transform the data from one schema to another schema.
Class Method Details
.map(hash, mapper, options = {}) ⇒ Object
transform the data from one schema to another schema.
11 12 13 |
# File 'lib/dozer.rb', line 11 def self.map(hash, mapper, ={}) mapper.transform(hash, ) end |