Class: Refile::RandomHasher
- Inherits:
-
Object
- Object
- Refile::RandomHasher
- Defined in:
- lib/refile/random_hasher.rb
Instance Method Summary collapse
Instance Method Details
#hash(uploadable = nil) ⇒ Object
2 3 4 |
# File 'lib/refile/random_hasher.rb', line 2 def hash(uploadable=nil) SecureRandom.hex(30) end |