Module: BWAPI::Client::Admin::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 = {}) ⇒ Hash
Get a list of query names.
-
#search_query_text(opts = {}) ⇒ Hash
Get a list of queries.
-
#search_rule_text(opts = {}) ⇒ Hash
Get a list of rules.
Instance Method Details
#search_query_name(opts = {}) ⇒ Hash
Get a list of query names
20 21 22 |
# File 'lib/bwapi/client/admin/search.rb', line 20 def search_query_name(opts = {}) get 'admin/search/queryname', opts end |
#search_query_text(opts = {}) ⇒ Hash
Get a list of queries
11 12 13 |
# File 'lib/bwapi/client/admin/search.rb', line 11 def search_query_text(opts = {}) get 'admin/search/querytext', opts end |
#search_rule_text(opts = {}) ⇒ Hash
Get a list of rules
29 30 31 |
# File 'lib/bwapi/client/admin/search.rb', line 29 def search_rule_text(opts = {}) get 'admin/search/ruletext', opts end |