Sha256: 74a1cfe987a0f0fc3b0ebadd4ede3eca7e38b8ad5aeff64dbe6f10736d5cc640
Contents?: true
Size: 530 Bytes
Versions: 10
Compression:
Stored size: 530 Bytes
Contents
class Posgra::Exporter def self.export_roles(driver, options = {}, &block) self.new(driver, options).export_roles(&block) end def self.export_grants(driver, options = {}, &block) self.new(driver, options).export_grants(&block) end def initialize(driver, options = {}) @driver = driver @options = options end def export_roles { :users => @driver.describe_users.keys, :users_by_group => @driver.describe_groups, } end def export_grants @driver.describe_grants end end
Version data entries
10 entries across 10 versions & 1 rubygems