Module: Courier::Models::Notifications::Previews::PreviewRunStatus

Extended by:
Internal::Type::Enum
Defined in:
lib/courier/models/notifications/previews/preview_run_status.rb,
sig/courier/models/notifications/previews/preview_run_status.rbs

Overview

Where the run itself has got to. PENDING and RENDERED mean Courier is still preparing the email, SUBMITTED means it is with the rendering service, and COMPLETED means every device has reported. FAILED is the run as a whole failing — an individual device failing never fails the run.

Constant Summary collapse

PENDING =

Returns:

  • (:PENDING)
:PENDING
RENDERED =

Returns:

  • (:RENDERED)
:RENDERED
SUBMITTED =

Returns:

  • (:SUBMITTED)
:SUBMITTED
COMPLETED =

Returns:

  • (:COMPLETED)
:COMPLETED
FAILED =

Returns:

  • (:FAILED)
:FAILED

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.values ⇒ ::Array[Courier::Models::Notifications::Previews::preview_run_status]

Returns:

  • (::Array[Courier::Models::Notifications::Previews::preview_run_status])


19
# File 'sig/courier/models/notifications/previews/preview_run_status.rbs', line 19

def self?.values: -> ::Array[Courier::Models::Notifications::Previews::preview_run_status]