Module: Courier::Models::Apn
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/courier/models/apn.rb,
sig/courier/models/apn.rbs
Overview
Apple Push Notification device tokens. Supply either a single token or a
tokens value. A bare string is rejected by the provider — the token must be
wrapped in this object.
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(Courier::Models::Token, Courier::Models::MultipleTokens)
|
|
# File 'lib/courier/models/apn.rb', line 15
|
Instance Method Details
#self?.variants ⇒ ::Array[Courier::Models::apn]
8 |
# File 'sig/courier/models/apn.rbs', line 8
def self?.variants: -> ::Array[Courier::Models::apn]
|