Class: SDM::SnapshotApprovalWorkflowSteps

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

Overview

SnapshotApprovalWorkflowSteps exposes the read only methods of the ApprovalWorkflowSteps service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(approval_workflow_steps) ⇒ SnapshotApprovalWorkflowSteps

Returns a new instance of SnapshotApprovalWorkflowSteps.



1660
1661
1662
# File 'lib/svc.rb', line 1660

def initialize(approval_workflow_steps)
  @approval_workflow_steps = approval_workflow_steps
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one approval workflow step by ID.



1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'lib/svc.rb', line 1665

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

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

Lists existing approval workflow steps.



1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
# File 'lib/svc.rb', line 1676

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