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