Class: SoftLayer::ObjectMask
- Inherits:
-
SOAP::Header::SimpleHandler
- Object
- SOAP::Header::SimpleHandler
- SoftLayer::ObjectMask
- Defined in:
- lib/softlayer.rb
Overview
A class to hold the object mask.
Instance Method Summary collapse
- #[](k) ⇒ Object
- #[]=(k, v) ⇒ Object
-
#initialize(tag, out) ⇒ ObjectMask
constructor
A new instance of ObjectMask.
- #on_simple_outbound ⇒ Object
Constructor Details
#initialize(tag, out) ⇒ ObjectMask
Returns a new instance of ObjectMask.
127 128 129 130 |
# File 'lib/softlayer.rb', line 127 def initialize(tag, out) @out = out super(XSD::QName.new(nil, tag)) end |
Instance Method Details
#[](k) ⇒ Object
136 137 138 |
# File 'lib/softlayer.rb', line 136 def [](k) @out[k] end |
#[]=(k, v) ⇒ Object
140 141 142 |
# File 'lib/softlayer.rb', line 140 def []=(k,v) @out[k]=v end |
#on_simple_outbound ⇒ Object
132 133 134 |
# File 'lib/softlayer.rb', line 132 def on_simple_outbound { 'mask' => @out } end |