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, radar_detection_id: :radar_detection_id }.freeze
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
-
#radar_detection_id ⇒ Object
Returns the value of attribute radar_detection_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ AuthenticationEmailVerificationFailedDataError
constructor
A new instance of AuthenticationEmailVerificationFailedDataError.
Constructor Details
#initialize(json) ⇒ AuthenticationEmailVerificationFailedDataError
Returns a new instance of AuthenticationEmailVerificationFailedDataError.
18 19 20 21 22 23 |
# File 'lib/workos/user_management/authentication_email_verification_failed_data_error.rb', line 18 def initialize(json) hash = self.class.normalize(json) @code = hash[:code] @message = hash[:message] @radar_detection_id = hash[:radar_detection_id] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
13 14 15 |
# File 'lib/workos/user_management/authentication_email_verification_failed_data_error.rb', line 13 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
13 14 15 |
# File 'lib/workos/user_management/authentication_email_verification_failed_data_error.rb', line 13 def @message end |
#radar_detection_id ⇒ Object
Returns the value of attribute radar_detection_id.
13 14 15 |
# File 'lib/workos/user_management/authentication_email_verification_failed_data_error.rb', line 13 def radar_detection_id @radar_detection_id end |