Class: Stratus::AWS::IAM::Client
- Inherits:
-
Object
- Object
- Stratus::AWS::IAM::Client
- Defined in:
- lib/stratus/aws/iam/client.rb
Instance Method Summary collapse
- #groups ⇒ Array<Stratus::AWS::IAM::Group>
-
#initialize(access_key_id, secret_access_key) ⇒ Client
constructor
A new instance of Client.
Constructor Details
Instance Method Details
#groups ⇒ Array<Stratus::AWS::IAM::Group>
8 9 10 11 12 13 14 15 16 |
# File 'lib/stratus/aws/iam/client.rb', line 8 def groups groups = [] @base.list_groups['ListGroupsResult']['Groups']['member'].each do |i| groups << Group.new(i) end return groups end |