Class: SDM::SnapshotWorkflowRoles
- Inherits:
-
Object
- Object
- SDM::SnapshotWorkflowRoles
- 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
-
#get(id, deadline: nil) ⇒ Object
Get reads one workflow role by ID.
-
#initialize(workflow_roles) ⇒ SnapshotWorkflowRoles
constructor
A new instance of SnapshotWorkflowRoles.
-
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow roles.
Constructor Details
#initialize(workflow_roles) ⇒ SnapshotWorkflowRoles
7029 7030 7031 |
# File 'lib/svc.rb', line 7029 def initialize(workflow_roles) @workflow_roles = workflow_roles end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow role by ID.
7034 7035 7036 7037 7038 7039 7040 7041 7042 |
# File 'lib/svc.rb', line 7034 def get( id, deadline: nil ) return @workflow_roles.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow roles.
7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 |
# File 'lib/svc.rb', line 7045 def list( filter, *args, deadline: nil ) return @workflow_roles.list( filter, *args, deadline: deadline, ) end |