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
7507 7508 7509 |
# File 'lib/svc.rb', line 7507 def initialize(workflow_approvers) @workflow_approvers = workflow_approvers end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow approver by ID.
7512 7513 7514 7515 7516 7517 7518 7519 7520 |
# File 'lib/svc.rb', line 7512 def get( id, deadline: nil ) return @workflow_approvers.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow approvers.
7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 |
# File 'lib/svc.rb', line 7523 def list( filter, *args, deadline: nil ) return @workflow_approvers.list( filter, *args, deadline: deadline, ) end |