Class: Twitch::BannedEventsResource
- Defined in:
- lib/twitch/resources/banned_events.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Twitch::Resource
Instance Method Details
#list(broadcaster_id:, **params) ⇒ Object
3 4 5 6 |
# File 'lib/twitch/resources/banned_events.rb', line 3 def list(broadcaster_id:, **params) response = get_request("moderation/banned/events", params: params.merge(broadcaster_id: broadcaster_id)) Collection.from_response(response, type: BannedEvent) end |