Class: SDM::SnapshotRoleResources
- Inherits:
-
Object
- Object
- SDM::SnapshotRoleResources
- 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
-
#initialize(role_resources) ⇒ SnapshotRoleResources
constructor
A new instance of SnapshotRoleResources.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of RoleResource records matching a given set of criteria.
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 |