Class: Dodopayments::Models::IntegrationConfig::NotionConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::IntegrationConfig::NotionConfig
- Defined in:
- lib/dodopayments/models/integration_config.rb,
sig/dodopayments/models/integration_config.rbs
Instance Attribute Summary collapse
-
#notion_template_id ⇒ String
Notion template identifier to grant access to.
Instance Method Summary collapse
-
#initialize ⇒ NotionConfig
constructor
A new instance of NotionConfig.
- #to_hash ⇒ { notion_template_id: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ NotionConfig
Returns a new instance of NotionConfig.
105 |
# File 'sig/dodopayments/models/integration_config.rbs', line 105
def initialize: (notion_template_id: String) -> void
|
Instance Attribute Details
#notion_template_id ⇒ String
Notion template identifier to grant access to.
131 |
# File 'lib/dodopayments/models/integration_config.rb', line 131 required :notion_template_id, String |
Instance Method Details
#to_hash ⇒ { notion_template_id: String }
107 |
# File 'sig/dodopayments/models/integration_config.rbs', line 107
def to_hash: -> { notion_template_id: String }
|