Module: Gzr::Permission

Included in:
Commands::Permission::Ls, Commands::Permission::Tree
Defined in:
lib/gzr/modules/permission.rb,
lib/gzr/modules/permission/set.rb

Defined Under Namespace

Modules: Set

Instance Method Summary collapse

Instance Method Details

#query_all_permissionsObject



27
28
29
30
31
32
33
34
35
# File 'lib/gzr/modules/permission.rb', line 27

def query_all_permissions()
  begin
    @sdk.all_permissions().collect { |p| p.to_attrs }
  rescue LookerSDK::Error => e
      say_error "Error querying all_permissions()"
      say_error e
      raise
  end
end