Module: Shikimori::API::V1::Genres
- Included in:
- Shikimori::API::V1
- Defined in:
- lib/shikimori/api/v1/genres.rb
Overview
Methods for the Genres API
Instance Method Summary collapse
-
#genres(headers: nil, **query) ⇒ Array<Hash>
Get list of genres.
Instance Method Details
#genres(headers: nil, **query) ⇒ Array<Hash>
Get list of genres
25 26 27 |
# File 'lib/shikimori/api/v1/genres.rb', line 25 def genres(headers: nil, **query) rest.get base_url.join('genres').url, headers: headers, query: query end |