Class: WorkOS::FlagRuleUpdatedContextConfiguredTargetOrganization
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::FlagRuleUpdatedContextConfiguredTargetOrganization
- Defined in:
- lib/workos/feature_flags/flag_rule_updated_context_configured_target_organization.rb
Constant Summary collapse
- HASH_ATTRS =
{ id: :id, name: :name }.freeze
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ FlagRuleUpdatedContextConfiguredTargetOrganization
constructor
A new instance of FlagRuleUpdatedContextConfiguredTargetOrganization.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ FlagRuleUpdatedContextConfiguredTargetOrganization
Returns a new instance of FlagRuleUpdatedContextConfiguredTargetOrganization.
16 17 18 19 20 |
# File 'lib/workos/feature_flags/flag_rule_updated_context_configured_target_organization.rb', line 16 def initialize(json) hash = self.class.normalize(json) @id = hash[:id] @name = hash[:name] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/workos/feature_flags/flag_rule_updated_context_configured_target_organization.rb', line 12 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/workos/feature_flags/flag_rule_updated_context_configured_target_organization.rb', line 12 def name @name end |