Class: ModSpox::Messages::Internal::NickResponse
- Defined in:
- lib/mod_spox/messages/internal/NickResponse.rb
Instance Attribute Summary collapse
-
#nick ⇒ Object
readonly
nick of the bot (model).
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(origin, nick) ⇒ NickResponse
constructor
A new instance of NickResponse.
Constructor Details
#initialize(origin, nick) ⇒ NickResponse
Returns a new instance of NickResponse.
8 9 10 11 |
# File 'lib/mod_spox/messages/internal/NickResponse.rb', line 8 def initialize(origin, nick) super(origin) @nick = nick end |
Instance Attribute Details
#nick ⇒ Object (readonly)
nick of the bot (model)
7 8 9 |
# File 'lib/mod_spox/messages/internal/NickResponse.rb', line 7 def nick @nick end |