Class: O3D3XX::ImagerProxy
- Inherits:
-
XmlRPCBase
- Object
- XmlRPCBase
- O3D3XX::ImagerProxy
- Defined in:
- lib/o3d3xx/xmlrpc.rb
Overview
This class encapsulates the XML-RPC imager access
Instance Attribute Summary
Attributes inherited from XmlRPCBase
Instance Method Summary collapse
-
#initialize(proxy) ⇒ ImagerProxy
constructor
A new instance of ImagerProxy.
Methods inherited from XmlRPCBase
#dump, #getConfig, #method_missing
Constructor Details
#initialize(proxy) ⇒ ImagerProxy
Returns a new instance of ImagerProxy.
44 45 46 47 48 |
# File 'lib/o3d3xx/xmlrpc.rb', line 44 def initialize(proxy) config = proxy.getConfig() path = "com.ifm.efector/session_#{proxy.getSessionID()}/edit/application/imager_001" # On O3D3xx only imager_001 is available 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