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
Returns a new instance of SnapshotWorkflowRoles.
5305 5306 5307 |
# File 'lib/svc.rb', line 5305 def initialize(workflow_roles) @workflow_roles = workflow_roles end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one workflow role by ID.
5310 5311 5312 5313 5314 5315 5316 5317 5318 |
# File 'lib/svc.rb', line 5310 def get( id, deadline: nil ) return @workflow_roles.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
Lists existing workflow roles.
5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 |
# File 'lib/svc.rb', line 5321 def list( filter, *args, deadline: nil ) return @workflow_roles.list( filter, *args, deadline: deadline, ) end |