Class: Catptcha::Photo
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Catptcha::Photo
- Defined in:
- lib/catptcha/photo.rb
Overview
-
url
Instance Method Summary collapse
Instance Method Details
#generate_key ⇒ Object
10 11 12 |
# File 'lib/catptcha/photo.rb', line 10 def generate_key self.key = Digest::SHA1.hexdigest(url) end |