Module: Spotted::Models::AlbumRestrictionObject::Reason

Extended by:
Internal::Type::Enum
Defined in:
lib/spotted/models/album_restriction_object.rb

Overview

The reason for the restriction. Albums may be restricted if the content is not available in a given market, to the user’s subscription type, or when the user’s account is set to not play explicit content. Additional reasons may be added in the future.

See Also:

Constant Summary collapse

MARKET =
:market
PRODUCT =
:product
EXPLICIT =
:explicit

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/spotted/models/album_restriction_object.rb', line 34