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
7296 7297 7298 |
# File 'lib/svc.rb', line 7296 def initialize(workflows) @workflows = workflows end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow by ID.
7301 7302 7303 7304 7305 7306 7307 7308 7309 |
# File 'lib/svc.rb', line 7301 def get( id, deadline: nil ) return @workflows.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflows.
7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 |
# File 'lib/svc.rb', line 7312 def list( filter, *args, deadline: nil ) return @workflows.list( filter, *args, deadline: deadline, ) end |