Module: Courier::Models::NotificationRetrieveContentResponse

Extended by:
Internal::Type::Union
Defined in:
lib/courier/models/notification_retrieve_content_response.rb,
sig/courier/models/notification_retrieve_content_response.rbs

Overview

Elemental content response for V2 templates. Contains versioned elements with content checksums.

See Also:

  • Courier::Resources::Notifications#retrieve_content

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

.variantsArray(Courier::Models::NotificationContentGetResponse, Courier::Models::NotificationGetContent)



# File 'lib/courier/models/notification_retrieve_content_response.rb', line 17

Instance Method Details

#self?.variants::Array[Courier::Models::notification_retrieve_content_response]

Returns:

  • (::Array[Courier::Models::notification_retrieve_content_response])


9
# File 'sig/courier/models/notification_retrieve_content_response.rbs', line 9

def self?.variants: -> ::Array[Courier::Models::notification_retrieve_content_response]