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