Module: Dodopayments::Models::IntegrationConfigResponse
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/dodopayments/models/integration_config_response.rb
Overview
Integration-specific configuration on an entitlement read response.
For ‘digital_files` entitlements the response includes presigned download URLs for each attached file; other integrations match the shape supplied at creation.
Defined Under Namespace
Classes: DigitalFilesConfig, DiscordConfig, FigmaConfig, FramerConfig, GitHubConfig, LicenseKeyConfig, NotionConfig, TelegramConfig
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .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)
Instance Method Summary collapse
-
#initialize(download_url:, expires_in:, file_id:, filename:, content_type: nil, file_size: nil) ⇒ Object
One file in a resolved digital-files payload.
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
.values ⇒ Array<Symbol>
|
|
# File 'lib/dodopayments/models/integration_config_response.rb', line 58
|
.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 274
|
Instance Method Details
#initialize(download_url:, expires_in:, file_id:, filename:, content_type: nil, file_size: nil) ⇒ Object
One file in a resolved digital-files payload.
|
|
# File 'lib/dodopayments/models/integration_config_response.rb', line 76
|