Class: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown
- Inherits:
-
SOAPTemporalObject
- Object
- SOAPTemporalObject
- SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown
- Defined in:
- lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb
Instance Attribute Summary
Attributes inherited from SOAPTemporalObject
Instance Method Summary collapse
- #as_nil ⇒ Object
- #as_string ⇒ Object
- #as_struct ⇒ Object
-
#initialize(handler, elename) ⇒ SOAPUnknown
constructor
A new instance of SOAPUnknown.
Constructor Details
#initialize(handler, elename) ⇒ SOAPUnknown
Returns a new instance of SOAPUnknown.
86 87 88 89 90 |
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 86 def initialize(handler, elename) super() @handler = handler @elename = elename end |
Instance Method Details
#as_nil ⇒ Object
107 108 109 110 111 112 |
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 107 def as_nil o = SOAPNil.decode(@elename) o.parent = @parent @handler.decode_parent(@parent, o) o end |
#as_string ⇒ Object
100 101 102 103 104 105 |
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 100 def as_string o = SOAPString.decode(@elename) o.parent = @parent @handler.decode_parent(@parent, o) o end |
#as_struct ⇒ Object
92 93 94 95 96 97 98 |
# File 'lib/action_web_service/soap/encodingstyle/aspDotNetHandler.rb', line 92 def as_struct o = SOAPStruct.decode(@elename, XSD::AnyTypeName) o.parent = @parent o.type.name = @name @handler.decode_parent(@parent, o) o end |