Class: Inferno::Web::Serializers::HashValueExtractor
- Inherits:
-
Blueprinter::Extractor
- Object
- Blueprinter::Extractor
- Inferno::Web::Serializers::HashValueExtractor
- Defined in:
- lib/inferno/apps/web/serializers/hash_value_extractor.rb
Instance Method Summary collapse
Instance Method Details
#extract(field_name, object, _local_options, _options) ⇒ Object
5 6 7 |
# File 'lib/inferno/apps/web/serializers/hash_value_extractor.rb', line 5 def extract(field_name, object, , ) object.send(field_name).values end |