Module: Courier::Models::TopicDigestCategory::Retain

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

Overview

Which collected events survive the limit. FIRST and LOWEST keep the earliest or smallest; LAST and HIGHEST keep the latest or largest. Accepted case-insensitively, returned uppercase.

See Also:

  • Courier::Models::TopicDigestCategory#retain

Constant Summary collapse

FIRST =

Returns:

  • (:FIRST)
:FIRST
LAST =

Returns:

  • (:LAST)
:LAST
HIGHEST =

Returns:

  • (:HIGHEST)
:HIGHEST
LOWEST =

Returns:

  • (:LOWEST)
:LOWEST
NONE =

Returns:

  • (:NONE)
:NONE

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

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<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/courier/models/topic_digest_category.rb', line 66

Instance Method Details

#self?.values ⇒ ::Array[Courier::Models::TopicDigestCategory::retain]

Returns:

  • (::Array[Courier::Models::TopicDigestCategory::retain])


53
# File 'sig/courier/models/topic_digest_category.rbs', line 53

def self?.values: -> ::Array[Courier::Models::TopicDigestCategory::retain]