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.



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

def initialize(origin, nick)
    super(origin)
    @nick = nick
end

Instance Attribute Details

#nickObject (readonly)

nick of the bot (model)



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

def nick
  @nick
end