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