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(region, stack_name) ⇒ Base

Returns a new instance of Base.



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

def initialize(region, stack_name)
  require 'aws-sdk'

  @region = region
  @stack_name = stack_name
end

Instance Attribute Details

#regionObject

Returns the value of attribute region.



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

def region
  @region
end

#stack_nameObject

Returns the value of attribute stack_name.



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

def stack_name
  @stack_name
end