Module: WhopSDK::Models::AccessPassType

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

Overview

The different types an product can be. Only use 'regular'. The rest are for internal use

Constant Summary collapse

REGULAR =

Returns:

  • (:regular)
:regular
APP =

Returns:

  • (:app)
:app
EXPERIENCE_UPSELL =

Returns:

  • (:experience_upsell)
:experience_upsell
API_ONLY =

Returns:

  • (:api_only)
:api_only

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/whop_sdk/models/access_pass_type.rb', line 15

Instance Method Details

#self?.values::Array[WhopSDK::Models::access_pass_type]

Returns:

  • (::Array[WhopSDK::Models::access_pass_type])


13
# File 'sig/whop_sdk/models/access_pass_type.rbs', line 13

def self?.values: -> ::Array[WhopSDK::Models::access_pass_type]