Sha256: fa84846f0210f8fb432c4494cbf8fa7ff8643f5b245bcebe8827e2eff041ae96

Contents?: true

Size: 465 Bytes

Versions: 7

Compression:

Stored size: 465 Bytes

Contents

require 'soap/mapping'

SampleStructServiceNamespace = 'http://tempuri.org/sampleStructService'

class SampleStruct; include SOAP::Marshallable
  attr_accessor :sampleArray
  attr_accessor :date

  def initialize
    @sampleArray = SampleArray[ "cyclic", self ]
    @date = DateTime.now
  end

  def wrap( rhs )
    @sampleArray = SampleArray[ "wrap", rhs.dup ]
    @date = DateTime.now
    self
  end
end

class SampleArray < Array; include SOAP::Marshallable
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
soap4r-spox-1.6.0 sample/basic/sampleStruct/iSampleStruct.rb
soap4r-ruby1.9-2.0.5 sample/basic/sampleStruct/iSampleStruct.rb
soap4r-ruby1.9-2.0.3 sample/basic/sampleStruct/iSampleStruct.rb
soap4r-ruby1.9-2.0.2 sample/basic/sampleStruct/iSampleStruct.rb
soap4r-ruby1.9-2.0.1 sample/basic/sampleStruct/iSampleStruct.rb
soap4r-ruby1.9-2.0.0 sample/basic/sampleStruct/iSampleStruct.rb
soap4r-ruby1.9-1.0.0 sample/basic/sampleStruct/iSampleStruct.rb