Module: Onlyfans::Models::TrialLinkCreateParams::OfferLimit

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

Overview

How many people can use this offer. Must either be 0 (for no limit), or a number between 1-10, 50, or 100.

Constant Summary collapse

OFFER_LIMIT_0 =

Returns:

  • (0)
0
OFFER_LIMIT_1 =

Returns:

  • (1)
1
OFFER_LIMIT_2 =

Returns:

  • (2)
2
OFFER_LIMIT_3 =

Returns:

  • (3)
3
OFFER_LIMIT_4 =

Returns:

  • (4)
4
OFFER_LIMIT_5 =

Returns:

  • (5)
5
OFFER_LIMIT_6 =

Returns:

  • (6)
6
OFFER_LIMIT_7 =

Returns:

  • (7)
7
OFFER_LIMIT_8 =

Returns:

  • (8)
8
OFFER_LIMIT_9 =

Returns:

  • (9)
9
OFFER_LIMIT_10 =

Returns:

  • (10)
10
OFFER_LIMIT_50 =

Returns:

  • (50)
50
OFFER_LIMIT_100 =

Returns:

  • (100)
100

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

Returns:

  • (Array<Integer>)


# File 'lib/onlyfans/models/trial_link_create_params.rb', line 103

Instance Method Details

#self?.values ⇒ ::Array[Onlyfans::Models::TrialLinkCreateParams::offer_limit]

Returns:

  • (::Array[Onlyfans::Models::TrialLinkCreateParams::offer_limit])


88
# File 'sig/onlyfans/models/trial_link_create_params.rbs', line 88

def self?.values: -> ::Array[Onlyfans::Models::TrialLinkCreateParams::offer_limit]