Class: Arachni::RPC::XML::Client::Dispatcher
- Defined in:
- lib/rpc/xml/client/dispatcher.rb
Overview
XMLRPC Dispatcher client
@author: Tasos “Zapotek” Laskos
<[email protected]>
<[email protected]>
@version: 0.1.2
Instance Method Summary collapse
-
#initialize(opts, url) ⇒ Dispatcher
constructor
A new instance of Dispatcher.
Methods inherited from Base
Constructor Details
#initialize(opts, url) ⇒ Dispatcher
Returns a new instance of Dispatcher.
32 33 34 |
# File 'lib/rpc/xml/client/dispatcher.rb', line 32 def initialize( opts, url ) super( opts, url ) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args, &block) ⇒ Object (private)
Used to provide the illusion of locality for remote methods
40 41 42 |
# File 'lib/rpc/xml/client/dispatcher.rb', line 40 def method_missing( sym, *args, &block ) call( "dispatcher.#{sym.to_s}", *args ) end |