Class: Cloudformer::Tasks

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/cloudformer/tasks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#capabilitiesObject

Returns the value of attribute capabilities.



16
17
18
# File 'lib/cloudformer/tasks.rb', line 16

def capabilities
  @capabilities
end

#disable_rollbackObject

Returns the value of attribute disable_rollback.



16
17
18
# File 'lib/cloudformer/tasks.rb', line 16

def disable_rollback
  @disable_rollback
end

#notifyObject

Returns the value of attribute notify.



16
17
18
# File 'lib/cloudformer/tasks.rb', line 16

def notify
  @notify
end

#parametersObject

Returns the value of attribute parameters.



16
17
18
# File 'lib/cloudformer/tasks.rb', line 16

def parameters
  @parameters
end

#retry_deleteObject

Returns the value of attribute retry_delete.



16
17
18
# File 'lib/cloudformer/tasks.rb', line 16

def retry_delete
  @retry_delete
end

#templateObject

Returns the value of attribute template.



16
17
18
# File 'lib/cloudformer/tasks.rb', line 16

def template
  @template
end