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
8302 8303 8304 |
# File 'lib/svc.rb', line 8302 def initialize(workflow_approvers) @workflow_approvers = workflow_approvers end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow approver by ID.
8307 8308 8309 8310 8311 8312 8313 8314 8315 |
# File 'lib/svc.rb', line 8307 def get( id, deadline: nil ) return @workflow_approvers.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow approvers.
8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 |
# File 'lib/svc.rb', line 8318 def list( filter, *args, deadline: nil ) return @workflow_approvers.list( filter, *args, deadline: deadline, ) end |