Module: Onlyfans::Models::PromotionCreateParams::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/onlyfans/models/promotion_create_params.rb

Overview

Whether this promotion should apply to new subscribers, expired subscribers, or both. **IMPORTANT: when set to new_and_expired, the OF will create two separate promotions.**

Constant Summary collapse

NEW =
:new
EXPIRED =
:expired
NEW_AND_EXPIRED =
:new_and_expired

Class 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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/onlyfans/models/promotion_create_params.rb', line 86