lib/rpc/xml/client/instance.rb in arachni-0.2.2.2 vs lib/rpc/xml/client/instance.rb in arachni-0.2.3
- old
+ new
@@ -23,11 +23,11 @@
# XMLRPC client for remote instances spawned by a remote dispatcher
#
# @author: Tasos "Zapotek" Laskos
# <tasos.laskos@gmail.com>
# <zapotek@segfault.gr>
-# @version: 0.1.1
+# @version: 0.1.2
#
class Instance < Base
attr_reader :opts
attr_reader :framework
@@ -68,11 +68,11 @@
@server.call( call, *args )
end
end
- def initialize( opts, url )
- super( opts, url )
+ def initialize( opts, url, token = nil )
+ super( opts, url, token )
@opts = OptsMapper.new( @server, 'opts' )
@framework = Mapper.new( @server, 'framework' )
@modules = Mapper.new( @server, 'modules' )
@plugins = Mapper.new( @server, 'plugins' )