Module: BWAPI::Client::QueryValidation
- Included in:
- BWAPI::Client
- Defined in:
- lib/bwapi/client/query_validation.rb
Instance Method Summary collapse
-
#query_validation(opts) ⇒ Hashie::Mash
Check to see if a query string is valid.
-
#search_within(opts) ⇒ Hashie::Mash
Check to see if a search within query string is valid.
Instance Method Details
#query_validation(opts) ⇒ Hashie::Mash
Check to see if a query string is valid
11 12 13 |
# File 'lib/bwapi/client/query_validation.rb', line 11 def query_validation opts get "query-validation", opts end |
#search_within(opts) ⇒ Hashie::Mash
Check to see if a search within query string is valid
21 22 23 |
# File 'lib/bwapi/client/query_validation.rb', line 21 def search_within opts get "query-validation/searchwithin", opts end |