Class: SDM::SnapshotWorkflowApprovers
- Inherits:
-
Object
- Object
- SDM::SnapshotWorkflowApprovers
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotWorkflowApprovers exposes the read only methods of the WorkflowApprovers service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one workflow approver by ID.
-
#initialize(workflow_approvers) ⇒ SnapshotWorkflowApprovers
constructor
A new instance of SnapshotWorkflowApprovers.
-
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow approvers.
Constructor Details
#initialize(workflow_approvers) ⇒ SnapshotWorkflowApprovers
Returns a new instance of SnapshotWorkflowApprovers.
5474 5475 5476 |
# File 'lib/svc.rb', line 5474 def initialize(workflow_approvers) @workflow_approvers = workflow_approvers end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow approver by ID.
5479 5480 5481 5482 5483 5484 5485 5486 5487 |
# File 'lib/svc.rb', line 5479 def get( id, deadline: nil ) return @workflow_approvers.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow approvers.
5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 |
# File 'lib/svc.rb', line 5490 def list( filter, *args, deadline: nil ) return @workflow_approvers.list( filter, *args, deadline: deadline, ) end |