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