Class: SDM::SnapshotWorkflowRoles

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotWorkflowRoles exposes the read only methods of the WorkflowRoles service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(workflow_roles) ⇒ SnapshotWorkflowRoles

Returns a new instance of SnapshotWorkflowRoles.



6927
6928
6929
# File 'lib/svc.rb', line 6927

def initialize(workflow_roles)
  @workflow_roles = workflow_roles
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one workflow role by ID.



6932
6933
6934
6935
6936
6937
6938
6939
6940
# File 'lib/svc.rb', line 6932

def get(
  id,
  deadline: nil
)
  return @workflow_roles.get(
           id,
           deadline: deadline,
         )
end

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

Lists existing workflow roles.



6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
# File 'lib/svc.rb', line 6943

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