Class: OpsPreflight::OpsWorks::Base
- Inherits:
-
Object
- Object
- OpsPreflight::OpsWorks::Base
- Defined in:
- lib/ops_preflight/ops_works/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#region ⇒ Object
Returns the value of attribute region.
-
#stack_name ⇒ Object
Returns the value of attribute stack_name.
Instance Method Summary collapse
-
#initialize(region, stack_name) ⇒ Base
constructor
A new instance of Base.
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
#region ⇒ Object
Returns the value of attribute region.
4 5 6 |
# File 'lib/ops_preflight/ops_works/base.rb', line 4 def region @region end |
#stack_name ⇒ Object
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 |