Class: SOAP::SOAPAttachment

Inherits:
SOAPExternalReference show all
Defined in:
lib/soap/attachment.rb

Constant Summary

Constants included from SOAP

AttrActor, AttrArrayType, AttrArrayTypeName, AttrEncodingStyle, AttrEncodingStyleName, 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, TypeMap, VERSION, ValueArray, ValueArrayName, XSDNamespaceTag, XSINamespaceTag

Instance Attribute Summary collapse

Attributes included from SOAPType

#definedtype, #elename, #encodingstyle, #extraattr, #id, #parent, #position, #precedents, #root

Instance Method Summary collapse

Methods inherited from SOAPExternalReference

#referred, #refidstr

Methods included from SOAPModuleUtils

#decode

Methods included from SOAPType

#inspect, #rootnode

Constructor Details

#initialize(value) ⇒ SOAPAttachment

Returns a new instance of SOAPAttachment.



19
20
21
22
# File 'lib/soap/attachment.rb', line 19

def initialize(value)
  super()
  @data = value
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data



17
18
19
# File 'lib/soap/attachment.rb', line 17

def data
  @data
end