Class: Cloudformer::Tasks

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

Overview

CloudFormer Rake Tasks

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack_name) ⇒ Tasks

Returns a new instance of Tasks.



8
9
10
11
12
13
14
15
# File 'lib/cloudformer/tasks.rb', line 8

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.



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

def capabilities
  @capabilities
end

#disable_rollbackObject

Returns the value of attribute disable_rollback.



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

def disable_rollback
  @disable_rollback
end

#notifyObject

Returns the value of attribute notify.



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

def notify
  @notify
end

#parametersObject

Returns the value of attribute parameters.



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

def parameters
  @parameters
end

#retry_deleteObject

Returns the value of attribute retry_delete.



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

def retry_delete
  @retry_delete
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

#templateObject

Returns the value of attribute template.



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

def template
  @template
end