Module: Booru::API::Forum

Defined in:
lib/booru/api/forum.rb

Instance Method Summary collapse

Instance Method Details

#forum_list(options = {}) ⇒ Object Also known as: list_forum

List: This action retrieves information from the forum

If you don’t specify any parameters you’ll get a list of all the parent topics.

options - The Hash used to refine the selection (default: {}):

:parent_id - The parent ID number. You'll return all the
             responses to that forum post.


14
15
16
17
18
# File 'lib/booru/api/forum.rb', line 14

def forum_list(options = {})
  base_url = 'forum/index'
  query = query_string(base_url, options)
  parse(get(query))
end