Module: Booru::API::Favorite
- Included in:
- Client
- Defined in:
- lib/booru/api/favorite.rb
Instance Method Summary collapse
-
#list_favorites(options = {}) ⇒ Object
(also: #post_favorites)
List Users: This action retrieves a list of users who have ‘favorited’ the post specified.
Instance Method Details
#list_favorites(options = {}) ⇒ Object Also known as: post_favorites
List Users: This action retrieves a list of users who have ‘favorited’ the post specified
options - The Hash used to refine the selection (default: {}):
:id - The post id.
There is no XML API for this action.
12 13 14 15 16 |
# File 'lib/booru/api/favorite.rb', line 12 def list_favorites( = {}) base_url = 'favorite/list_users.xml' query = query_string(base_url, , formatted = true) parse(get(query)) end |