Module: WhopSDK::Models::PromoDuration
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/whop_sdk/models/promo_duration.rb,
sig/whop_sdk/models/promo_duration.rbs
Overview
The duration setting for the promo code
Constant Summary collapse
- FOREVER =
:forever- ONCE =
:once- REPEATING =
:repeating
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>
|
|
# File 'lib/whop_sdk/models/promo_duration.rb', line 13
|
Instance Method Details
#self?.values ⇒ ::Array[WhopSDK::Models::promo_duration]
12 |
# File 'sig/whop_sdk/models/promo_duration.rbs', line 12
def self?.values: -> ::Array[WhopSDK::Models::promo_duration]
|