Module: Dodopayments::Models::IntegrationConfigResponse
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/dodopayments/models/integration_config_response.rb
Overview
Public-facing variant of [‘IntegrationConfig`]. Mirrors every variant shape on the wire EXCEPT `DigitalFiles`, which is replaced with a hydrated `digital_files` object (resolved download URLs etc.). The persisted JSONB stays ID-only via [`IntegrationConfig`]; this enum is response-only.
Defined Under Namespace
Classes: DigitalFilesConfig, DiscordConfig, FigmaConfig, FramerConfig, GitHubConfig, LicenseKeyConfig, NotionConfig, TelegramConfig
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(download_url:, expires_in:, file_id:, filename:, source:, content_type: nil, file_size: nil) ⇒ Object
Some parameter documentations has been truncated, see DigitalFilesConfig::DigitalFiles::File for more details.
Methods included from Internal::Type::Union
==, ===, coerce, 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(Dodopayments::Models::IntegrationConfigResponse::GitHubConfig, Dodopayments::Models::IntegrationConfigResponse::DiscordConfig, Dodopayments::Models::IntegrationConfigResponse::TelegramConfig, Dodopayments::Models::IntegrationConfigResponse::FigmaConfig, Dodopayments::Models::IntegrationConfigResponse::FramerConfig, Dodopayments::Models::IntegrationConfigResponse::NotionConfig, Dodopayments::Models::IntegrationConfigResponse::DigitalFilesConfig, Dodopayments::Models::IntegrationConfigResponse::LicenseKeyConfig)
|
|
# File 'lib/dodopayments/models/integration_config_response.rb', line 234
|
Instance Method Details
#initialize(download_url:, expires_in:, file_id:, filename:, source:, content_type: nil, file_size: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::IntegrationConfigResponse::DigitalFilesConfig::DigitalFiles::File for more details.
|
|
# File 'lib/dodopayments/models/integration_config_response.rb', line 39
|