Class: SoftLayer::Param
- Inherits:
-
SOAP::Header::SimpleHandler
- Object
- SOAP::Header::SimpleHandler
- SoftLayer::Param
- Defined in:
- lib/softlayer/util.rb
Overview
A class to old Paramaters.
Instance Method Summary collapse
- #[](k) ⇒ Object
- #[]=(k, v) ⇒ Object
-
#initialize(tag, out) ⇒ Param
constructor
A new instance of Param.
- #on_simple_outbound ⇒ Object
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_outbound ⇒ Object
25 26 27 |
# File 'lib/softlayer/util.rb', line 25 def on_simple_outbound @out end |