Class: Cadenya::Types::RotateChallengeTokenResponse
- Inherits:
-
Object
- Object
- Cadenya::Types::RotateChallengeTokenResponse
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#challenge_token ⇒ Object
readonly
Returns the value of attribute challenge_token.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(challenge_token: nil) ⇒ RotateChallengeTokenResponse
constructor
A new instance of RotateChallengeTokenResponse.
- #to_h ⇒ Object
Constructor Details
#initialize(challenge_token: nil) ⇒ RotateChallengeTokenResponse
Returns a new instance of RotateChallengeTokenResponse.
4900 4901 4902 |
# File 'lib/cadenya/types.rb', line 4900 def initialize(challenge_token: nil) @challenge_token = challenge_token end |
Instance Attribute Details
#challenge_token ⇒ Object (readonly)
Returns the value of attribute challenge_token.
4898 4899 4900 |
# File 'lib/cadenya/types.rb', line 4898 def challenge_token @challenge_token end |
Class Method Details
.from_json(data) ⇒ Object
4904 4905 4906 4907 4908 |
# File 'lib/cadenya/types.rb', line 4904 def self.from_json(data) new( challenge_token: data["challengeToken"], ) end |