Class: ModSpox::Messages::Outgoing::List

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/List.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#channelObject (readonly)

channel to list



6
7
8
# File 'lib/mod_spox/messages/outgoing/List.rb', line 6

def channel
  @channel
end

#targetObject (readonly)

server to forward request to



8
9
10
# File 'lib/mod_spox/messages/outgoing/List.rb', line 8

def target
  @target
end