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