Class: Aptible::Api::AwsInstance
- Defined in:
- lib/aptible/api/aws_instance.rb
Instance Method Summary collapse
-
#layers ⇒ Object
Layers as an array of strings.
- #stack_layers ⇒ Object
Methods inherited from Resource
Instance Method Details
#layers ⇒ Object
Layers as an array of strings
34 35 36 |
# File 'lib/aptible/api/aws_instance.rb', line 34 def layers stack_layers.map(&:name) end |
#stack_layers ⇒ Object
26 27 28 29 30 31 |
# File 'lib/aptible/api/aws_instance.rb', line 26 def stack_layers instance_layer_memberships.map(&:links) .map(&:stack_layer) .uniq(&:href) .map(&:get) end |