Class: Stackit::ManagedStackService
- Inherits:
-
Object
- Object
- Stackit::ManagedStackService
- Defined in:
- lib/stackit/stack/managed_stack_service.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#stacks ⇒ Object
writeonly
Sets the attribute stacks.
Instance Method Summary collapse
- #create! ⇒ Object
- #delete! ⇒ Object
-
#initialize(options) ⇒ ManagedStackService
constructor
A new instance of ManagedStackService.
- #update! ⇒ Object
Constructor Details
#initialize(options) ⇒ ManagedStackService
Returns a new instance of ManagedStackService.
8 9 10 |
# File 'lib/stackit/stack/managed_stack_service.rb', line 8 def initialize() self. = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/stackit/stack/managed_stack_service.rb', line 5 def end |
#stacks=(value) ⇒ Object
Sets the attribute stacks
6 7 8 |
# File 'lib/stackit/stack/managed_stack_service.rb', line 6 def stacks=(value) @stacks = value end |
Instance Method Details
#create! ⇒ Object
12 13 14 |
# File 'lib/stackit/stack/managed_stack_service.rb', line 12 def create! stack.create! end |
#delete! ⇒ Object
20 21 22 |
# File 'lib/stackit/stack/managed_stack_service.rb', line 20 def delete! stack.delete! end |
#update! ⇒ Object
16 17 18 |
# File 'lib/stackit/stack/managed_stack_service.rb', line 16 def update! stack.update! end |