Class: SDM::SnapshotWorkflows
- Inherits:
-
Object
- Object
- SDM::SnapshotWorkflows
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotWorkflows exposes the read only methods of the Workflows service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one workflow by ID.
-
#initialize(workflows) ⇒ SnapshotWorkflows
constructor
A new instance of SnapshotWorkflows.
-
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflows.
Constructor Details
#initialize(workflows) ⇒ SnapshotWorkflows
Returns a new instance of SnapshotWorkflows.
4825 4826 4827 |
# File 'lib/svc.rb', line 4825 def initialize(workflows) @workflows = workflows end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow by ID.
4830 4831 4832 4833 4834 4835 4836 4837 4838 |
# File 'lib/svc.rb', line 4830 def get( id, deadline: nil ) return @workflows.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflows.
4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 |
# File 'lib/svc.rb', line 4841 def list( filter, *args, deadline: nil ) return @workflows.list( filter, *args, deadline: deadline, ) end |