Sha256: 59ff2339fffdf641f660c8b1d6c37d8a2ef7adab8386c393fa45697700a0f7c7

Contents?: true

Size: 254 Bytes

Versions: 88

Compression:

Stored size: 254 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class HashValueExtractor < Blueprinter::Extractor
        def extract(field_name, object, _local_options, _options)
          object.send(field_name).values
        end
      end
    end
  end
end

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.6.0 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.5.4 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.5.3 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.5.2 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.5.1 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.5.0 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.44 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.43 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.42 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.41 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.40 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.39 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.38 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.35 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.34 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.33 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.32 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.31 lib/inferno/apps/web/serializers/hash_value_extractor.rb
inferno_core-0.4.30 lib/inferno/apps/web/serializers/hash_value_extractor.rb