Class: ModSpox::Messages::Outgoing::Names
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Names
- Defined in:
- lib/mod_spox/messages/outgoing/Names.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel to request names.
-
#target ⇒ Object
readonly
server to forward request to.
Instance Method Summary collapse
-
#initialize(channel, target = '') ⇒ Names
constructor
- channel
- channel to request names from target
-
forward to this server to supply response List visible nicknames.
Constructor Details
#initialize(channel, target = '') ⇒ Names
- channel
-
channel to request names from
- target
-
forward to this server to supply response
List visible nicknames. Supply empty string for channel to get entire list
13 14 15 16 |
# File 'lib/mod_spox/messages/outgoing/Names.rb', line 13 def initialize(channel, target='') @channel = channel @target = target end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel to request names
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Names.rb', line 6 def channel @channel end |
#target ⇒ Object (readonly)
server to forward request to
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Names.rb', line 8 def target @target end |