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