Class: Twitch::Bot::Message::FollowersOnlyMode
- Defined in:
- lib/twitch/bot/message.rb
Overview
This class stores the details of a FollowersOnlyMode event.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(status:) ⇒ FollowersOnlyMode
constructor
A new instance of FollowersOnlyMode.
Constructor Details
#initialize(status:) ⇒ FollowersOnlyMode
Returns a new instance of FollowersOnlyMode.
97 98 99 100 |
# File 'lib/twitch/bot/message.rb', line 97 def initialize(status:) @status = status super(type: :followers_only_mode) end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
95 96 97 |
# File 'lib/twitch/bot/message.rb', line 95 def status @status end |