Module: Courier::Models::Users::TokenAddSingleParams::ProviderKey

Extended by:
Internal::Type::Enum
Defined in:
lib/courier/models/users/token_add_single_params.rb

Constant Summary collapse

FIREBASE_FCM =
:"firebase-fcm"
APN =
:apn
EXPO =
:expo
ONESIGNAL =
:onesignal

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

Instance Method Details

#initialize(user_id:, token:, provider_key:, device: nil, expiry_date: nil, properties: nil, tracking: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Courier::Models::Users::TokenAddSingleParams for more details.

Parameters:

  • (defaults to: nil)

    Information about the device the token came from.

  • (defaults to: nil)

    ISO 8601 formatted date the token expires. Defaults to 2 months. Set to false to

  • (defaults to: nil)

    Properties about the token.

  • (defaults to: nil)

    Tracking information about the device the token came from.

  • (defaults to: {})


71
72
73
74
75
76
77
78
79
80
81
# File 'lib/courier/models/users/token_add_single_params.rb', line 71

module ProviderKey
  extend Courier::Internal::Type::Enum

  FIREBASE_FCM = :"firebase-fcm"
  APN = :apn
  EXPO = :expo
  ONESIGNAL = :onesignal

  # @!method self.values
  #   @return [Array<Symbol>]
end