Module: Trycourier::Models::InboundTrackEventParams::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/trycourier/models/inbound_track_event_params.rb

Constant Summary collapse

TRACK =
:track

Class Method Summary collapse

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/trycourier/models/inbound_track_event_params.rb', line 61


Instance Method Details

#initialize(event:, message_id:, properties:, type:, user_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Trycourier::Models::InboundTrackEventParams for more details.

Parameters:

  • event (String)

    A descriptive name of the event. This name will appear as a trigger in the Couri

  • message_id (String)

    A required unique identifier that will be used to de-duplicate requests. If not

  • properties (Hash{Symbol=>Object})
  • type (Symbol, Trycourier::Models::InboundTrackEventParams::Type)
  • user_id (String, nil) (defaults to: nil)

    The user id associated with the track

  • request_options (Trycourier::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


56
57
58
59
60
61
62
63
# File 'lib/trycourier/models/inbound_track_event_params.rb', line 56

module Type
  extend Trycourier::Internal::Type::Enum

  TRACK = :track

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