Module: BWAPI::Client::Admin::Clients::Search
- Included in:
- BWAPI::Client::Admin
- Defined in:
- lib/bwapi/client/admin/search.rb
Overview
Search module for admin/search endpoints
Instance Method Summary collapse
-
#search_query_name(opts = {}) ⇒ Hashie::Mash
Get a list of query names.
-
#search_query_text(opts = {}) ⇒ Hashie::Mash
Get a list of queries.
-
#search_rule_text(opts = {}) ⇒ Hashie::Mash
Get a list of rules.
Instance Method Details
#search_query_name(opts = {}) ⇒ Hashie::Mash
Get a list of query names
23 24 25 |
# File 'lib/bwapi/client/admin/search.rb', line 23 def search_query_name(opts = {}) get 'admin/search/queryname', opts end |
#search_query_text(opts = {}) ⇒ Hashie::Mash
Get a list of queries
14 15 16 |
# File 'lib/bwapi/client/admin/search.rb', line 14 def search_query_text(opts = {}) get 'admin/search/querytext', opts end |
#search_rule_text(opts = {}) ⇒ Hashie::Mash
Get a list of rules
32 33 34 |
# File 'lib/bwapi/client/admin/search.rb', line 32 def search_rule_text(opts = {}) get 'admin/search/ruletext', opts end |