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.
8552 8553 8554 |
# File 'lib/svc.rb', line 8552 def initialize(workflow_roles) @workflow_roles = workflow_roles end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow role by ID.
8557 8558 8559 8560 8561 8562 8563 8564 8565 |
# File 'lib/svc.rb', line 8557 def get( id, deadline: nil ) return @workflow_roles.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow roles.
8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 |
# File 'lib/svc.rb', line 8568 def list( filter, *args, deadline: nil ) return @workflow_roles.list( filter, *args, deadline: deadline, ) end |