Class: SoftLayer::Param

Inherits:
SOAP::Header::SimpleHandler
  • Object
show all
Defined in:
lib/softlayer/util.rb

Overview

A class to old Paramaters.

Instance Method Summary collapse

Constructor Details

#initialize(tag, out) ⇒ Param

Returns a new instance of Param.



20
21
22
23
# File 'lib/softlayer/util.rb', line 20

def initialize(tag, out)
  @out = out
  super(XSD::QName.new(nil, tag))
end

Instance Method Details

#[](k) ⇒ Object



29
30
31
# File 'lib/softlayer/util.rb', line 29

def [](k)
  return @out[k]
end

#[]=(k, v) ⇒ Object



33
34
35
# File 'lib/softlayer/util.rb', line 33

def []=(k,v)
  @out[k]=v
end

#on_simple_outboundObject



25
26
27
# File 'lib/softlayer/util.rb', line 25

def on_simple_outbound
  @out
end