Module: WhopSDK::Models::CompanyCreateAPIKeyParams::Role

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

Overview

The different system roles that can be assigned.

Constant Summary collapse

OWNER =

Returns:

  • (:owner)
:owner
ADMIN =

Returns:

  • (:admin)
:admin
MODERATOR =

Returns:

  • (:moderator)
:moderator
SALES_MANAGER =

Returns:

  • (:sales_manager)
:sales_manager
ADVERTISER =

Returns:

  • (:advertiser)
:advertiser

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/company_create_api_key_params.rb', line 104

Instance Method Details

#self?.values::Array[WhopSDK::Models::CompanyCreateAPIKeyParams::role]

Returns:

  • (::Array[WhopSDK::Models::CompanyCreateAPIKeyParams::role])


79
# File 'sig/whop_sdk/models/company_create_api_key_params.rbs', line 79

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