Class: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown
- Inherits:
-
SOAPTemporalObject
- Object
- SOAPTemporalObject
- SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown
- Defined in:
- lib/soap/encodingstyle/aspDotNetHandler.rb
Instance Attribute Summary
Attributes inherited from SOAPTemporalObject
Instance Method Summary collapse
- #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.
87 88 89 90 91 |
# File 'lib/soap/encodingstyle/aspDotNetHandler.rb', line 87 def initialize(handler, elename) super() @handler = handler @elename = elename end |
Instance Method Details
#as_string ⇒ Object
101 102 103 104 105 106 |
# File 'lib/soap/encodingstyle/aspDotNetHandler.rb', line 101 def as_string o = SOAPString.decode(@elename) o.parent = @parent @handler.decode_parent(@parent, o) o end |
#as_struct ⇒ Object
93 94 95 96 97 98 99 |
# File 'lib/soap/encodingstyle/aspDotNetHandler.rb', line 93 def as_struct o = SOAPStruct.decode(@elename, XSD::AnyTypeName) o.parent = @parent o.type.name = @name @handler.decode_parent(@parent, o) o end |