Sha256: cf7eed054c3d3402f4f06495f65b4057b811f5ade0b2329f4c9e8de6613bc7db
Contents?: true
Size: 465 Bytes
Versions: 41
Compression:
Stored size: 465 Bytes
Contents
require "fog/core/collection" require "fog/google/models/sql/user" module Fog module Google class SQL class Users < Fog::Collection model Fog::Google::SQL::User ## # Lists all Cloud SQL database users # # @return [Array<Fog::Google::SQL::User>] List of users def all(instance) data = service.list_users(instance).to_h[:items] || [] load(data) end end end end end
Version data entries
41 entries across 41 versions & 2 rubygems