Sha256: 161938c4ffd9a37dc9ad78d988330f2db18c0a41241b98835c47c005a262d702

Contents?: true

Size: 358 Bytes

Versions: 48

Compression:

Stored size: 358 Bytes

Contents

module Searchkick
  # Subclass of `Hashie::Mash` to wrap Hash-like structures
  # (responses from Elasticsearch)
  #
  # The primary goal of the subclass is to disable the
  # warning being printed by Hashie for re-defined
  # methods, such as `sort`.
  #
  class HashWrapper < ::Hashie::Mash
    disable_warnings if respond_to?(:disable_warnings)
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
searchkick-5.4.0 lib/searchkick/hash_wrapper.rb
searchkick-5.3.1 lib/searchkick/hash_wrapper.rb
searchkick-5.3.0 lib/searchkick/hash_wrapper.rb
searchkick-5.2.4 lib/searchkick/hash_wrapper.rb
searchkick-5.2.3 lib/searchkick/hash_wrapper.rb
searchkick-5.2.2 lib/searchkick/hash_wrapper.rb
searchkick-5.2.1 lib/searchkick/hash_wrapper.rb
searchkick-5.2.0 lib/searchkick/hash_wrapper.rb
searchkick-5.1.2 lib/searchkick/hash_wrapper.rb
searchkick-5.1.1 lib/searchkick/hash_wrapper.rb
searchkick-5.1.0 lib/searchkick/hash_wrapper.rb
searchkick-5.0.5 lib/searchkick/hash_wrapper.rb
searchkick-5.0.4 lib/searchkick/hash_wrapper.rb
searchkick-5.0.3 lib/searchkick/hash_wrapper.rb
searchkick-5.0.2 lib/searchkick/hash_wrapper.rb
searchkick-5.0.1 lib/searchkick/hash_wrapper.rb
searchkick-5.0.0 lib/searchkick/hash_wrapper.rb
searchkick-4.6.3 lib/searchkick/hash_wrapper.rb
searchkick-4.6.2 lib/searchkick/hash_wrapper.rb
searchkick-4.6.1 lib/searchkick/hash_wrapper.rb