Method: Blueprinter::Extractor#extract

Defined in:
lib/blueprinter/extractor.rb

#extract(_field_name, _object, _local_options, _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.

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/blueprinter/extractor.rb', line 5

def extract(_field_name, _object, _local_options, _options = {})
  raise NotImplementedError, 'An Extractor must implement #extract'
end