Skip to content

Commit 08daac5

Browse files
committed
[MODEL] Inherit from HashWrapper for disabling warnings
1 parent f852bc5 commit 08daac5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

elasticsearch-model/lib/elasticsearch/model/response/aggregations.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Elasticsearch
22
module Model
33
module Response
44

5-
class Aggregations < Hashie::Mash
5+
class Aggregations < HashWrapper
66
disable_warnings if respond_to?(:disable_warnings)
77

88
def initialize(attributes={})

elasticsearch-model/lib/elasticsearch/model/response/suggestions.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Elasticsearch
22
module Model
33
module Response
44

5-
class Suggestions < Hashie::Mash
5+
class Suggestions < HashWrapper
66
disable_warnings if respond_to?(:disable_warnings)
77

88
def terms

0 commit comments

Comments
 (0)