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

Instance Method Summary collapse

Instance Method Details

#decode(elename) ⇒ Object



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

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

#to_data(str) ⇒ Object



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

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