Class: Fog::Google::SQL::Users
- Inherits:
-
Collection
- Object
- Collection
- Fog::Google::SQL::Users
- Defined in:
- lib/fog/google/models/sql/users.rb
Instance Method Summary collapse
-
#all(instance) ⇒ Array<Fog::Google::SQL::User>
Lists all Cloud SQL database users.
Instance Method Details
#all(instance) ⇒ Array<Fog::Google::SQL::User>
Lists all Cloud SQL database users
14 15 16 17 |
# File 'lib/fog/google/models/sql/users.rb', line 14 def all(instance) data = service.list_users(instance).to_h[:items] || [] load(data) end |