Class: Stretchy::Queries::MatchAllQuery
- Defined in:
- lib/stretchy/queries/match_all_query.rb
Instance Method Summary collapse
-
#initialize ⇒ MatchAllQuery
constructor
A new instance of MatchAllQuery.
- #to_search ⇒ Object
Methods included from Utils::Validation
#errors, included, #require_one!, #require_only_one!, #valid?, #validate!, #validator
Constructor Details
#initialize ⇒ MatchAllQuery
Returns a new instance of MatchAllQuery.
7 8 |
# File 'lib/stretchy/queries/match_all_query.rb', line 7 def initialize end |
Instance Method Details
#to_search ⇒ Object
10 11 12 |
# File 'lib/stretchy/queries/match_all_query.rb', line 10 def to_search { match_all: {} } end |