Class: Cloudformer::Tasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Cloudformer::Tasks
- Defined in:
- lib/cloudformer/tasks.rb
Instance Attribute Summary collapse
-
#capabilities ⇒ Object
Returns the value of attribute capabilities.
-
#disable_rollback ⇒ Object
Returns the value of attribute disable_rollback.
-
#notify ⇒ Object
Returns the value of attribute notify.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#retry_delete ⇒ Object
Returns the value of attribute retry_delete.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#template ⇒ Object
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(stack_name) ⇒ Tasks
constructor
A new instance of Tasks.
Constructor Details
#initialize(stack_name) ⇒ Tasks
Returns a new instance of Tasks.
7 8 9 10 11 12 13 14 |
# File 'lib/cloudformer/tasks.rb', line 7 def initialize(stack_name) @stack_name = stack_name @stack =Stack.new(stack_name) if block_given? yield self define_tasks end end |
Instance Attribute Details
#capabilities ⇒ Object
Returns the value of attribute capabilities.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def capabilities @capabilities end |
#disable_rollback ⇒ Object
Returns the value of attribute disable_rollback.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def disable_rollback @disable_rollback end |
#notify ⇒ Object
Returns the value of attribute notify.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def notify @notify end |
#parameters ⇒ Object
Returns the value of attribute parameters.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def parameters @parameters end |
#retry_delete ⇒ Object
Returns the value of attribute retry_delete.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def retry_delete @retry_delete end |
#tags ⇒ Object
Returns the value of attribute tags.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def end |
#template ⇒ Object
Returns the value of attribute template.
16 17 18 |
# File 'lib/cloudformer/tasks.rb', line 16 def template @template end |