Class: Pushkin::Configuration
- Inherits:
-
Object
- Object
- Pushkin::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/pushkin/configuration.rb
Class Method Summary collapse
Class Method Details
.generate_token ⇒ Object
10 11 12 |
# File 'lib/pushkin/configuration.rb', line 10 def self.generate_token defined?(SecureRandom) ? SecureRandom.hex(32) : ActiveSupport::SecureRandom.hex(32) end |