Class: OpsworksHelpers::Stack
- Inherits:
-
OpsworksResource
- Object
- OpsworksResource
- OpsworksHelpers::Stack
- Defined in:
- lib/opsworks_helpers/stack.rb
Instance Method Summary collapse
Methods inherited from OpsworksResource
all, #initialize, #inspect, #name
Constructor Details
This class inherits a constructor from OpsworksHelpers::OpsworksResource
Instance Method Details
#all ⇒ Object
4 5 6 7 8 |
# File 'lib/opsworks_helpers/stack.rb', line 4 def all opsworks.describe_stacks.stacks.map do |stack| self.class.new(stack) end end |
#id ⇒ Object
10 11 12 |
# File 'lib/opsworks_helpers/stack.rb', line 10 def id opsworks_resource.stack_id end |