Class: SOAP::WSDLDriver
Defined Under Namespace
Classes: Servant__
Instance Method Summary collapse
- #__attr_proxy(symbol, assignable = false) ⇒ Object
- #httpproxy ⇒ Object
- #httpproxy=(httpproxy) ⇒ Object
-
#initialize(wsdl, port, logdev) ⇒ WSDLDriver
constructor
A new instance of WSDLDriver.
- #inspect ⇒ Object
- #mandatorycharset ⇒ Object
- #mandatorycharset=(mandatorycharset) ⇒ Object
- #reset_stream ⇒ Object
- #wiredump_dev ⇒ Object
- #wiredump_dev=(wiredump_dev) ⇒ Object
- #wiredump_file_base ⇒ Object
- #wiredump_file_base=(wiredump_file_base) ⇒ Object
Constructor Details
#initialize(wsdl, port, logdev) ⇒ WSDLDriver
Returns a new instance of WSDLDriver.
259 260 261 |
# File 'lib/soap/wsdlDriver.rb', line 259 def initialize(wsdl, port, logdev) @servant = Servant__.new(self, wsdl, port, logdev) end |
Instance Method Details
#__attr_proxy(symbol, assignable = false) ⇒ Object
185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/soap/wsdlDriver.rb', line 185 def __attr_proxy(symbol, assignable = false) name = symbol.to_s define_method(name) { @servant.__send__(name) } if assignable aname = name + '=' define_method(aname) { |rhs| @servant.__send__(aname, rhs) } end end |
#httpproxy ⇒ Object
227 228 229 |
# File 'lib/soap/wsdlDriver.rb', line 227 def httpproxy @servant.["protocol.http.proxy"] end |
#httpproxy=(httpproxy) ⇒ Object
231 232 233 |
# File 'lib/soap/wsdlDriver.rb', line 231 def httpproxy=(httpproxy) @servant.["protocol.http.proxy"] = httpproxy end |
#inspect ⇒ Object
263 264 265 |
# File 'lib/soap/wsdlDriver.rb', line 263 def inspect "#<#{self.class}:#{@servant.port.name}>" end |
#mandatorycharset ⇒ Object
243 244 245 |
# File 'lib/soap/wsdlDriver.rb', line 243 def mandatorycharset @servant.["protocol.mandatorycharset"] end |
#mandatorycharset=(mandatorycharset) ⇒ Object
247 248 249 |
# File 'lib/soap/wsdlDriver.rb', line 247 def mandatorycharset=(mandatorycharset) @servant.["protocol.mandatorycharset"] = mandatorycharset end |
#reset_stream ⇒ Object
267 268 269 |
# File 'lib/soap/wsdlDriver.rb', line 267 def reset_stream @servant.reset_stream end |
#wiredump_dev ⇒ Object
235 236 237 |
# File 'lib/soap/wsdlDriver.rb', line 235 def wiredump_dev @servant.["protocol.http.wiredump_dev"] end |
#wiredump_dev=(wiredump_dev) ⇒ Object
239 240 241 |
# File 'lib/soap/wsdlDriver.rb', line 239 def wiredump_dev=(wiredump_dev) @servant.["protocol.http.wiredump_dev"] = wiredump_dev end |
#wiredump_file_base ⇒ Object
251 252 253 |
# File 'lib/soap/wsdlDriver.rb', line 251 def wiredump_file_base @servant.["protocol.wiredump_file_base"] end |
#wiredump_file_base=(wiredump_file_base) ⇒ Object
255 256 257 |
# File 'lib/soap/wsdlDriver.rb', line 255 def wiredump_file_base=(wiredump_file_base) @servant.["protocol.wiredump_file_base"] = wiredump_file_base end |