Class: Revent::Captcha
Instance Attribute Summary collapse
-
#encrypted_code_with_timestamp ⇒ Object
readonly
Returns the value of attribute encrypted_code_with_timestamp.
-
#img ⇒ Object
readonly
Returns the value of attribute img.
Instance Method Summary collapse
-
#initialize(encrypted_code_with_timestamp, img) ⇒ Captcha
constructor
A new instance of Captcha.
Constructor Details
#initialize(encrypted_code_with_timestamp, img) ⇒ Captcha
Returns a new instance of Captcha.
9 10 11 12 |
# File 'lib/revent/captcha.rb', line 9 def initialize(, img) @encrypted_code_with_timestamp = @img = img end |
Instance Attribute Details
#encrypted_code_with_timestamp ⇒ Object (readonly)
Returns the value of attribute encrypted_code_with_timestamp.
7 8 9 |
# File 'lib/revent/captcha.rb', line 7 def @encrypted_code_with_timestamp end |
#img ⇒ Object (readonly)
Returns the value of attribute img.
7 8 9 |
# File 'lib/revent/captcha.rb', line 7 def img @img end |