Class: Altcha::V2::VerifyServerSignatureResult
- Inherits:
-
Object
- Object
- Altcha::V2::VerifyServerSignatureResult
- Defined in:
- lib/altcha/v2.rb
Overview
Detailed result returned by V2.verify_server_signature.
Instance Attribute Summary collapse
-
#expired ⇒ Object
Returns the value of attribute expired.
-
#invalid_signature ⇒ Object
Returns the value of attribute invalid_signature.
-
#invalid_solution ⇒ Object
Returns the value of attribute invalid_solution.
-
#time ⇒ Object
Returns the value of attribute time.
-
#verification_data ⇒ Object
Returns the value of attribute verification_data.
-
#verified ⇒ Object
Returns the value of attribute verified.
Instance Method Summary collapse
-
#initialize(expired:, invalid_signature:, invalid_solution:, time:, verification_data:, verified:) ⇒ VerifyServerSignatureResult
constructor
A new instance of VerifyServerSignatureResult.
Constructor Details
#initialize(expired:, invalid_signature:, invalid_solution:, time:, verification_data:, verified:) ⇒ VerifyServerSignatureResult
Returns a new instance of VerifyServerSignatureResult.
212 213 214 215 216 217 218 219 220 |
# File 'lib/altcha/v2.rb', line 212 def initialize(expired:, invalid_signature:, invalid_solution:, time:, verification_data:, verified:) @expired = expired @invalid_signature = invalid_signature @invalid_solution = invalid_solution @time = time @verification_data = verification_data @verified = verified end |
Instance Attribute Details
#expired ⇒ Object
Returns the value of attribute expired.
209 210 211 |
# File 'lib/altcha/v2.rb', line 209 def expired @expired end |
#invalid_signature ⇒ Object
Returns the value of attribute invalid_signature.
209 210 211 |
# File 'lib/altcha/v2.rb', line 209 def invalid_signature @invalid_signature end |
#invalid_solution ⇒ Object
Returns the value of attribute invalid_solution.
209 210 211 |
# File 'lib/altcha/v2.rb', line 209 def invalid_solution @invalid_solution end |
#time ⇒ Object
Returns the value of attribute time.
209 210 211 |
# File 'lib/altcha/v2.rb', line 209 def time @time end |
#verification_data ⇒ Object
Returns the value of attribute verification_data.
209 210 211 |
# File 'lib/altcha/v2.rb', line 209 def verification_data @verification_data end |
#verified ⇒ Object
Returns the value of attribute verified.
209 210 211 |
# File 'lib/altcha/v2.rb', line 209 def verified @verified end |