Sha256: 9dc2d0ec0e31e7393a9a3754fcc850a55e92981830f217aa148a2f73feb5662a
Contents?: true
Size: 542 Bytes
Versions: 11
Compression:
Stored size: 542 Bytes
Contents
require_relative 'stack_status' module OpenStax::Aws class Stack class Event def initialize(aws_stack_event) @aws_stack_event = aws_stack_event end def status_text @aws_stack_event.data.resource_status end def status_reason @aws_stack_event.data.resource_status_reason end def failed? Status.failure_status_texts.include?(status_text) end def user_initiated? status_reason == "User Initiated" end end end end
Version data entries
11 entries across 11 versions & 1 rubygems