Class: ModSpox::Messages::Internal::NickResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/mod_spox/messages/internal/NickResponse.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#origin

Instance Method Summary collapse

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

#nickObject (readonly)

nick of the bot (model)



7
8
9
# File 'lib/mod_spox/messages/internal/NickResponse.rb', line 7

def nick
  @nick
end