Class: SDM::SnapshotWorkflows

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(workflows) ⇒ SnapshotWorkflows

Returns a new instance of SnapshotWorkflows.



4116
4117
4118
# File 'lib/svc.rb', line 4116

def initialize(workflows)
  @workflows = workflows
end

Instance Method Details

#list(filter, *args, deadline: nil) ⇒ Object

Lists existing workflows.



4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
# File 'lib/svc.rb', line 4121

def list(
  filter,
  *args,
  deadline: nil
)
  return @workflows.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end