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.



4
5
6
# File 'lib/blueprinter/transformer.rb', line 4

def transform(result_hash,primary_obj, options={})
  fail NotImplementedError, "A Transformer must implement #transform"
end