Class: WorkOS::FeatureFlagsFlagRuleUpdatedContextPreviousAttributeData

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute_data.rb

Constant Summary collapse

HASH_ATTRS =
{
  value: :value
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FeatureFlagsFlagRuleUpdatedContextPreviousAttributeData

Returns a new instance of FeatureFlagsFlagRuleUpdatedContextPreviousAttributeData.



13
14
15
16
# File 'lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute_data.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @value = hash[:value]
end

Instance Attribute Details

#value ⇒ Object

Returns the value of attribute value.



11
12
13
# File 'lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute_data.rb', line 11

def value
  @value
end