Class: OpsworksHelpers::App
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize, #inspect, #name
Class Method Details
.all(stack_id) ⇒ Object
4
5
6
|
# File 'lib/opsworks_helpers/app.rb', line 4
def self.all(stack_id)
new.all(stack_id)
end
|
Instance Method Details
#all(stack_id) ⇒ Object
8
9
10
11
12
|
# File 'lib/opsworks_helpers/app.rb', line 8
def all(stack_id)
opsworks.describe_apps(stack_id: stack_id).apps.map do |app|
self.class.new(app)
end
end
|
#id ⇒ Object
14
15
16
|
# File 'lib/opsworks_helpers/app.rb', line 14
def id
opsworks_resource.app_id
end
|