Class: ModSpox::Messages::Outgoing::Motd

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target = '') ⇒ Motd

target

server to send request to

Request MOTD from target server. If no target is given it requests from the current server



10
11
12
# File 'lib/mod_spox/messages/outgoing/Motd.rb', line 10

def initialize(target='')
    @target = target
end

Instance Attribute Details

#targetObject (readonly)

server to send request to



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

def target
  @target
end