Class: O3D3XX::NetworkProxy
- Inherits:
-
XmlRPCBase
- Object
- XmlRPCBase
- O3D3XX::NetworkProxy
- Defined in:
- lib/o3d3xx/xmlrpc.rb
Overview
This class encapsulates the XML-RPC network configuration settings
Instance Attribute Summary
Attributes inherited from XmlRPCBase
Instance Method Summary collapse
-
#initialize(proxy) ⇒ NetworkProxy
constructor
A new instance of NetworkProxy.
Methods inherited from XmlRPCBase
#dump, #getConfig, #method_missing
Constructor Details
#initialize(proxy) ⇒ NetworkProxy
Returns a new instance of NetworkProxy.
25 26 27 28 29 |
# File 'lib/o3d3xx/xmlrpc.rb', line 25 def initialize(proxy) config = proxy.getConfig() path = "com.ifm.efector/session_#{proxy.getSessionID()}/edit/device/network/" super(:host => config[:host], :port => config[:port], :path => path) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class XmlRPCBase