Method: Blueprinter::Transformer.transform
- Defined in:
- lib/blueprinter/transformer.rb
.transform(result_hash, primary_obj, options = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/blueprinter/transformer.rb', line 8 def self.transform(result_hash, primary_obj, = {}) self.new.transform(result_hash, primary_obj, ) end |