Class: Cody::Stack
- Inherits:
-
Object
- Object
- Cody::Stack
- Includes:
- AwsServices, Status
- Defined in:
- lib/cody/stack.rb,
lib/cody/stack/base.rb,
lib/cody/stack/create.rb,
lib/cody/stack/status.rb,
lib/cody/stack/update.rb
Defined Under Namespace
Modules: Status Classes: Base, Create, Update
Instance Method Summary collapse
-
#initialize(options) ⇒ Stack
constructor
A new instance of Stack.
- #run ⇒ Object
Methods included from Status
Methods included from AwsServices
Methods included from AwsServices::Helpers
#are_you_sure?, #find_stack, #inferred_project_name, #inferred_stack_name, #normalize_stack_name, #project_name_convention, #stack_exists?
Constructor Details
#initialize(options) ⇒ Stack
Returns a new instance of Stack.
8 9 10 11 12 |
# File 'lib/cody/stack.rb', line 8 def initialize() @options = @project_name = @options[:project_name] || inferred_project_name @stack_name = normalize_stack_name([:stack_name] || inferred_stack_name(@project_name)) end |