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.
4191 4192 4193 |
# File 'lib/svc.rb', line 4191 def initialize(workflow_approvers) @workflow_approvers = workflow_approvers end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow approver by ID.
4196 4197 4198 4199 4200 4201 4202 4203 4204 |
# File 'lib/svc.rb', line 4196 def get( id, deadline: nil ) return @workflow_approvers.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow approvers.
4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 |
# File 'lib/svc.rb', line 4207 def list( filter, *args, deadline: nil ) return @workflow_approvers.list( filter, *args, deadline: deadline, ) end |