Module: Rumination::Generate
- Defined in:
- lib/rumination/generate.rb
Class Method Summary collapse
Class Method Details
.password ⇒ Object
5 6 7 |
# File 'lib/rumination/generate.rb', line 5 def self.password SecureRandom.base64(12) end |
.secret_key_base ⇒ Object
9 10 11 |
# File 'lib/rumination/generate.rb', line 9 def self.secret_key_base SecureRandom.hex(64) end |