Class: WorkOS::SendVerificationEmail
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::SendVerificationEmail
- Defined in:
- lib/workos/user_management/send_verification_email.rb
Constant Summary collapse
- HASH_ATTRS =
{ locale: :locale }.freeze
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
Instance Method Summary collapse
-
#initialize(json) ⇒ SendVerificationEmail
constructor
A new instance of SendVerificationEmail.
Constructor Details
#initialize(json) ⇒ SendVerificationEmail
Returns a new instance of SendVerificationEmail.
13 14 15 16 |
# File 'lib/workos/user_management/send_verification_email.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/send_verification_email.rb', line 11 def locale @locale end |