class Aptible::Api::AwsInstance
Public Instance Methods
layers()
click to toggle source
Layers as an array of strings
# File lib/aptible/api/aws_instance.rb, line 38 def layers stack_layers.map(&:name) end
stack_layers()
click to toggle source
# File lib/aptible/api/aws_instance.rb, line 30 def stack_layers instance_layer_memberships.map(&:links) .map(&:stack_layer) .uniq(&:href) .map(&:get) end