Class: Rmobio::WebServices::WsdlDriver

Inherits:
Object
  • Object
show all
Defined in:
lib/rmobio/webservices/soap/drivers.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_id, *args) ⇒ Object

this may not be very useful because responses require interpertation



56
57
58
# File 'lib/rmobio/webservices/soap/drivers.rb', line 56

def method_missing(method_id, *args)
  driver.send method_id, args if driver.respond_to?(method_id)
end

Class Attribute Details

.driverObject

Returns the value of attribute driver.



36
37
38
# File 'lib/rmobio/webservices/soap/drivers.rb', line 36

def driver
  @driver
end

.wsdlObject

Returns the value of attribute wsdl.



36
37
38
# File 'lib/rmobio/webservices/soap/drivers.rb', line 36

def wsdl
  @wsdl
end

Instance Method Details

#driverObject

instance method for returning the underlying rpc_driver



46
47
48
# File 'lib/rmobio/webservices/soap/drivers.rb', line 46

def driver
  self.class.driver
end

#wsdlObject

instance method for returning the underlying wsdl address



51
52
53
# File 'lib/rmobio/webservices/soap/drivers.rb', line 51

def wsdl
  self.class.wsdl
end