Method: VpcCriticalPortsAudit::CriticalPortsAuditState.load_state

Defined in:
lib/scripts/ec2/vpc_critical_ports_audit.rb

.load_state(context) ⇒ Object



38
39
40
41
# File 'lib/scripts/ec2/vpc_critical_ports_audit.rb', line 38

def self.load_state(context)
  state = context[:initial_state] == nil ? RetrievingSecurityGroups.new(context) : context[:initial_state]
  state
end