Class: SDM::SnapshotWorkflowRoles
- Inherits:
-
Object
- Object
- SDM::SnapshotWorkflowRoles
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotWorkflowRoles exposes the read only methods of the WorkflowRoles service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one workflow role by ID.
-
#initialize(workflow_roles) ⇒ SnapshotWorkflowRoles
constructor
A new instance of SnapshotWorkflowRoles.
-
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow roles.
Constructor Details
#initialize(workflow_roles) ⇒ SnapshotWorkflowRoles
Returns a new instance of SnapshotWorkflowRoles.
4561 4562 4563 |
# File 'lib/svc.rb', line 4561 def initialize(workflow_roles) @workflow_roles = workflow_roles end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow role by ID.
4566 4567 4568 4569 4570 4571 4572 4573 4574 |
# File 'lib/svc.rb', line 4566 def get( id, deadline: nil ) return @workflow_roles.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow roles.
4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 |
# File 'lib/svc.rb', line 4577 def list( filter, *args, deadline: nil ) return @workflow_roles.list( filter, *args, deadline: deadline, ) end |