Class: ModSpox::Messages::Outgoing::Version

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target = '') ⇒ Version

target

target server to query

Query version of server. Connected server is queried if target is not defined



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

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

Instance Attribute Details

#targetObject (readonly)

target server to query



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

def target
  @target
end