Module: WhopSDK::Models::AdCampaign::SpecialAdCategory

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

Overview

Regulated categories the campaign is declared under. Ads in these categories are subject to extra targeting restrictions. Empty when none apply.

Constant Summary collapse

HOUSING =

Returns:

  • (:housing)
:housing
EMPLOYMENT =

Returns:

  • (:employment)
:employment
FINANCIAL_PRODUCTS =

Returns:

  • (:financial_products)
:financial_products
POLITICS =

Returns:

  • (:politics)
:politics

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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

Instance Method Details

#self?.values::Array[WhopSDK::Models::AdCampaign::special_ad_category]

Returns:

  • (::Array[WhopSDK::Models::AdCampaign::special_ad_category])


437
# File 'sig/whop_sdk/models/ad_campaign.rbs', line 437

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