Class: SDM::SnapshotRoleResources

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotRoleResources exposes the read only methods of the RoleResources service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(role_resources) ⇒ SnapshotRoleResources

Returns a new instance of SnapshotRoleResources.



5120
5121
5122
# File 'lib/svc.rb', line 5120

def initialize(role_resources)
  @role_resources = role_resources
end

Instance Method Details

#list(filter, *args, deadline: nil) ⇒ Object

List gets a list of RoleResource records matching a given set of criteria.



5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
# File 'lib/svc.rb', line 5125

def list(
  filter,
  *args,
  deadline: nil
)
  return @role_resources.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end