class Omc::Account
Attributes
client[RW]
Public Class Methods
new(credentials)
click to toggle source
# File lib/omc/account.rb, line 7 def initialize(credentials) @client = ::AWS::OpsWorks::Client.new(credentials) end
Public Instance Methods
stacks()
click to toggle source
# File lib/omc/account.rb, line 11 def stacks @stacks ||= client.describe_stacks[:stacks].map do |stack| Stack.new(self, stack) end end