Class: SDM::SnapshotApprovalWorkflowApprovers

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

Overview

SnapshotApprovalWorkflowApprovers exposes the read only methods of the ApprovalWorkflowApprovers service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(approval_workflow_approvers) ⇒ SnapshotApprovalWorkflowApprovers

Returns a new instance of SnapshotApprovalWorkflowApprovers.



1424
1425
1426
# File 'lib/svc.rb', line 1424

def initialize(approval_workflow_approvers)
  @approval_workflow_approvers = approval_workflow_approvers
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one approval workflow approver by ID.



1429
1430
1431
1432
1433
1434
1435
1436
1437
# File 'lib/svc.rb', line 1429

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

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

Lists existing approval workflow approvers.



1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
# File 'lib/svc.rb', line 1440

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