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.
3329 3330 3331 |
# File 'lib/svc.rb', line 3329 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.
3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 |
# File 'lib/svc.rb', line 3334 def list( filter, *args, deadline: nil ) return @role_resources.list( filter, *args, deadline: deadline, ) end |