Class: Dodopayments::Models::IntegrationConfigResponse::FeatureFlagConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::IntegrationConfigResponse::FeatureFlagConfig
- Defined in:
- lib/dodopayments/models/integration_config_response.rb,
sig/dodopayments/models/integration_config_response.rbs
Instance Attribute Summary collapse
-
#feature_id ⇒ String
Merchant-chosen identifier for the capability this entitlement unlocks.
-
#feature_type ⇒ Symbol, Dodopayments::Models::FeatureType
Type of capability conferred.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
25 |
# File 'sig/dodopayments/models/integration_config_response.rbs', line 25
def initialize: (
|
Instance Attribute Details
#feature_id ⇒ String
Merchant-chosen identifier for the capability this entitlement unlocks.
35 |
# File 'lib/dodopayments/models/integration_config_response.rb', line 35 required :feature_id, String |
#feature_type ⇒ Symbol, Dodopayments::Models::FeatureType
Type of capability conferred. Only boolean is supported today.
41 |
# File 'lib/dodopayments/models/integration_config_response.rb', line 41 required :feature_type, enum: -> { Dodopayments::FeatureType } |
Instance Method Details
#to_hash ⇒ {
30 |
# File 'sig/dodopayments/models/integration_config_response.rbs', line 30
def to_hash: -> {
|