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.
238 239 240 |
# File 'lib/soap/wsdlDriver.rb', line 238 def initialize(wsdl, port, logdev) @servant = Servant__.new(self, wsdl, port, logdev) end |
Instance Method Details
#__attr_proxy(symbol, assignable = false) ⇒ Object
164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/soap/wsdlDriver.rb', line 164 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
206 207 208 |
# File 'lib/soap/wsdlDriver.rb', line 206 def httpproxy @servant.["protocol.http.proxy"] end |
#httpproxy=(httpproxy) ⇒ Object
210 211 212 |
# File 'lib/soap/wsdlDriver.rb', line 210 def httpproxy=(httpproxy) @servant.["protocol.http.proxy"] = httpproxy end |
#inspect ⇒ Object
242 243 244 |
# File 'lib/soap/wsdlDriver.rb', line 242 def inspect "#<#{self.class}:#{@servant.port.name}>" end |
#mandatorycharset ⇒ Object
222 223 224 |
# File 'lib/soap/wsdlDriver.rb', line 222 def mandatorycharset @servant.["protocol.mandatorycharset"] end |
#mandatorycharset=(mandatorycharset) ⇒ Object
226 227 228 |
# File 'lib/soap/wsdlDriver.rb', line 226 def mandatorycharset=(mandatorycharset) @servant.["protocol.mandatorycharset"] = mandatorycharset end |
#reset_stream ⇒ Object
246 247 248 |
# File 'lib/soap/wsdlDriver.rb', line 246 def reset_stream @servant.reset_stream end |
#wiredump_dev ⇒ Object
214 215 216 |
# File 'lib/soap/wsdlDriver.rb', line 214 def wiredump_dev @servant.["protocol.http.wiredump_dev"] end |
#wiredump_dev=(wiredump_dev) ⇒ Object
218 219 220 |
# File 'lib/soap/wsdlDriver.rb', line 218 def wiredump_dev=(wiredump_dev) @servant.["protocol.http.wiredump_dev"] = wiredump_dev end |
#wiredump_file_base ⇒ Object
230 231 232 |
# File 'lib/soap/wsdlDriver.rb', line 230 def wiredump_file_base @servant.["protocol.wiredump_file_base"] end |
#wiredump_file_base=(wiredump_file_base) ⇒ Object
234 235 236 |
# File 'lib/soap/wsdlDriver.rb', line 234 def wiredump_file_base=(wiredump_file_base) @servant.["protocol.wiredump_file_base"] = wiredump_file_base end |