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