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



1997
1998
1999
# File 'lib/svc.rb', line 1997

def initialize(approval_workflow_steps)
  @approval_workflow_steps = approval_workflow_steps
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Deprecated: Get reads one approval workflow step by ID.



2002
2003
2004
2005
2006
2007
2008
2009
2010
# File 'lib/svc.rb', line 2002

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

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

Deprecated: Lists existing approval workflow steps.



2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
# File 'lib/svc.rb', line 2013

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