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
-
#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.
4083 4084 4085 |
# File 'lib/svc.rb', line 4083 def initialize(workflows) @workflows = workflows end |
Instance Method Details
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflows.
4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 |
# File 'lib/svc.rb', line 4088 def list( filter, *args, deadline: nil ) return @workflows.list( filter, *args, deadline: deadline, ) end |