Class: Blueprinter::Extractor
- Inherits:
-
Object
- Object
- Blueprinter::Extractor
show all
- Defined in:
- lib/blueprinter/extractor.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
9
10
11
|
# File 'lib/blueprinter/extractor.rb', line 9
def self.(field_name, object, local_options, options={})
self.new.(field_name, object, local_options, options)
end
|
Instance Method Details
5
6
7
|
# File 'lib/blueprinter/extractor.rb', line 5
def (_field_name, _object, _local_options, _options={})
fail NotImplementedError, "An Extractor must implement #extract"
end
|