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.
4873 4874 4875 |
# File 'lib/svc.rb', line 4873 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.
4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 |
# File 'lib/svc.rb', line 4878 def list( filter, *args, deadline: nil ) return @role_resources.list( filter, *args, deadline: deadline, ) end |