Class: ModSpox::Messages::Outgoing::List
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::List
- Defined in:
- lib/mod_spox/messages/outgoing/List.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel to list.
-
#target ⇒ Object
readonly
server to forward request to.
Instance Method Summary collapse
-
#initialize(channel, target = '') ⇒ List
constructor
- channel
- channel to list target
-
forward to this server to supply response List channels and their topics.
Constructor Details
#initialize(channel, target = '') ⇒ List
- channel
-
channel to list
- target
-
forward to this server to supply response
List channels and their topics
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/List.rb', line 12 def initialize(channel, target='') @channel = channel @target = target end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel to list
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/List.rb', line 6 def channel @channel end |
#target ⇒ Object (readonly)
server to forward request to
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/List.rb', line 8 def target @target end |