Module: SOAP::SOAPModuleUtils

Includes:
SOAP
Included in:
RPC::SOAPVoid, SOAPAnySimpleType, SOAPAnyURI, SOAPBase64, SOAPBoolean, SOAPByte, SOAPDate, SOAPDateTime, SOAPDecimal, SOAPDouble, SOAPDuration, SOAPENTITIES, SOAPENTITY, SOAPExternalReference, SOAPFloat, SOAPGDay, SOAPGMonth, SOAPGMonthDay, SOAPGYear, SOAPGYearMonth, SOAPHexBinary, SOAPID, SOAPIDREF, SOAPIDREFS, SOAPInt, SOAPInteger, SOAPLanguage, SOAPLong, SOAPNCName, SOAPNMTOKEN, SOAPNMTOKENS, SOAPName, SOAPNegativeInteger, SOAPNil, SOAPNonNegativeInteger, SOAPNonPositiveInteger, SOAPNormalizedString, SOAPPositiveInteger, SOAPQName, SOAPRawString, SOAPReference, SOAPShort, SOAPString, SOAPTime, SOAPToken, SOAPUnsignedByte, SOAPUnsignedInt, SOAPUnsignedLong, SOAPUnsignedShort
Defined in:
lib/soap/baseData.rb

Overview

Mix-in module for SOAP base type classes.

Constant Summary

Constant Summary

Constants included from SOAP

AttrActor, AttrActorName, AttrArrayType, AttrArrayTypeName, AttrEncodingStyle, AttrEncodingStyleName, AttrHref, AttrHrefName, AttrId, AttrIdName, AttrMustUnderstand, AttrMustUnderstandName, AttrOffset, AttrOffsetName, AttrPosition, AttrPositionName, AttrRoot, AttrRootName, Base64Literal, EleBody, EleBodyName, EleEnvelope, EleEnvelopeName, EleFault, EleFaultActor, EleFaultActorName, EleFaultCode, EleFaultCodeName, EleFaultDetail, EleFaultDetailName, EleFaultName, EleFaultString, EleFaultStringName, EleHeader, EleHeaderName, EncodingNamespace, EnvelopeNamespace, LiteralNamespace, MediaType, NextActor, PropertyName, SOAPProxy, TypeMap, VERSION, ValueArray, ValueArrayName

Instance Method Summary (collapse)

Instance Method Details

- (Object) decode(elename)



26
27
28
29
30
# File 'lib/soap/baseData.rb', line 26

def decode(elename)
  d = self.new
  d.elename = elename
  d
end

- (Object) to_data(str)



32
33
34
# File 'lib/soap/baseData.rb', line 32

def to_data(str)
  new(str).data
end