Class: Twitch::Bot::Message::NotSupported

Inherits:
Base
  • Object
show all
Defined in:
lib/twitch/bot/message.rb

Overview

This class represents an event that is not supported.

Instance Attribute Summary collapse

Attributes inherited from Event

#type

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ NotSupported



17
18
19
20
# File 'lib/twitch/bot/message.rb', line 17

def initialize(message)
  @message = message
  super(type: :not_supported)
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



15
16
17
# File 'lib/twitch/bot/message.rb', line 15

def message
  @message
end