Class: Altcha::V1::ServerSignatureVerificationData
- Inherits:
-
Object
- Object
- Altcha::V1::ServerSignatureVerificationData
- Defined in:
- lib/altcha/v1.rb
Overview
Typed fields returned from verify_server_signature.
Instance Attribute Summary collapse
-
#classification ⇒ Object
Returns the value of attribute classification.
-
#country ⇒ Object
Returns the value of attribute country.
-
#detected_language ⇒ Object
Returns the value of attribute detected_language.
-
#email ⇒ Object
Returns the value of attribute email.
-
#expire ⇒ Object
Returns the value of attribute expire.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#fields_hash ⇒ Object
Returns the value of attribute fields_hash.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#reasons ⇒ Object
Returns the value of attribute reasons.
-
#score ⇒ Object
Returns the value of attribute score.
-
#time ⇒ Object
Returns the value of attribute time.
-
#verified ⇒ Object
Returns the value of attribute verified.
Instance Method Summary collapse
Instance Attribute Details
#classification ⇒ Object
Returns the value of attribute classification.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def classification @classification end |
#country ⇒ Object
Returns the value of attribute country.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def country @country end |
#detected_language ⇒ Object
Returns the value of attribute detected_language.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def detected_language @detected_language end |
#email ⇒ Object
Returns the value of attribute email.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def email @email end |
#expire ⇒ Object
Returns the value of attribute expire.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def expire @expire end |
#fields ⇒ Object
Returns the value of attribute fields.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def fields @fields end |
#fields_hash ⇒ Object
Returns the value of attribute fields_hash.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def fields_hash @fields_hash end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def ip_address @ip_address end |
#reasons ⇒ Object
Returns the value of attribute reasons.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def reasons @reasons end |
#score ⇒ Object
Returns the value of attribute score.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def score @score end |
#time ⇒ Object
Returns the value of attribute time.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def time @time end |
#verified ⇒ Object
Returns the value of attribute verified.
130 131 132 |
# File 'lib/altcha/v1.rb', line 130 def verified @verified end |
Instance Method Details
#to_json(options = {}) ⇒ Object
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/altcha/v1.rb', line 133 def to_json( = {}) { classification: @classification, country: @country, detectedLanguage: @detected_language, email: @email, expire: @expire, fields: @fields, fieldsHash: @fields_hash, ipAddress: @ip_address, reasons: @reasons, score: @score, time: @time, verified: @verified }.to_json() end |