Module: TerminalShop::Models::ProductAPI::Subscription

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

Overview

Whether the product must be or can be subscribed to.

See Also:

  • TerminalShop::Models::ProductAPI#subscription

Constant Summary collapse

ALLOWED =

Returns:

  • (:allowed)
:allowed
REQUIRED =

Returns:

  • (:required)
:required

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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

Instance Method Details

#self?.values::Array[TerminalShop::Models::ProductAPI::subscription]

Returns:

  • (::Array[TerminalShop::Models::ProductAPI::subscription])


74
# File 'sig/terminal_shop/models/product.rbs', line 74

def self?.values: -> ::Array[TerminalShop::Models::ProductAPI::subscription]