Module: SOAP::SOAPModuleUtils

Overview

Mix-in module for SOAP base type classes.

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, SOAPNamespaceTag, SOAPProxy, TypeMap, VERSION, ValueArray, ValueArrayName, XSDNamespaceTag, XSINamespaceTag

Instance Method Summary collapse

Instance Method Details

#decode(elename) ⇒ Object



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

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

#to_data(str) ⇒ Object



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

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