Module: Courier::Models::MultipleTokens::Tokens
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/courier/models/multiple_tokens.rb,
sig/courier/models/multiple_tokens.rbs
Overview
One device token, or an array of them. The values are the token strings themselves — not objects.
Constant Summary collapse
- StringArray =
Courier::Internal::Type::ArrayOf[String]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
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
.variants ⇒ Array(String, Array<String>)
|
|
# File 'lib/courier/models/multiple_tokens.rb', line 30
|
Instance Method Details
#self?.variants ⇒ ::Array[Courier::Models::MultipleTokens::tokens]
17 |
# File 'sig/courier/models/multiple_tokens.rbs', line 17
def self?.variants: -> ::Array[Courier::Models::MultipleTokens::tokens]
|