Module: Booru::API::User
- Included in:
- Client
- Defined in:
- lib/booru/api/user.rb
Instance Method Summary collapse
-
#search_users(options = {}) ⇒ Object
Search: This action retrieves a user.
Instance Method Details
#search_users(options = {}) ⇒ Object
Search: This action retrieves a user
If you don’t specify any parameters you’ll get a listing of all users.
options - The Hash used to refine the selection (default: {}):
:id - The id number of the user (optional).
:name - The name of the user (optional).
14 15 16 17 18 |
# File 'lib/booru/api/user.rb', line 14 def search_users( = {}) base_url = '/user/index' query = query_string(base_url, ) parse(get(query)) end |