Class: SoftLayer::Param

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

Overview

A class to old Paramaters.

Instance Method Summary collapse

Constructor Details

#initialize(tag, out) ⇒ Param



106
107
108
109
# File 'lib/softlayer.rb', line 106

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

Instance Method Details

#[](k) ⇒ Object



115
116
117
# File 'lib/softlayer.rb', line 115

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

#[]=(k, v) ⇒ Object



119
120
121
# File 'lib/softlayer.rb', line 119

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

#on_simple_outboundObject



111
112
113
# File 'lib/softlayer.rb', line 111

def on_simple_outbound
  @out
end