Class: OpsPreflight::OpsWorks::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ops_preflight/ops_works/base.rb

Direct Known Subclasses

Deploy, FetchEnvironment

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack_name) ⇒ Base

Returns a new instance of Base.



6
7
8
9
10
# File 'lib/ops_preflight/ops_works/base.rb', line 6

def initialize(stack_name)
  require 'aws-sdk'

  @stack_name = stack_name
end

Instance Attribute Details

#stack_nameObject

Returns the value of attribute stack_name.



4
5
6
# File 'lib/ops_preflight/ops_works/base.rb', line 4

def stack_name
  @stack_name
end