class Razoul::Configuration
Attributes
database[RW]
expiration_time[RW]
login[RW]
password[RW]
token_key[RW]
token_prefix[RW]
Public Class Methods
new()
click to toggle source
# File lib/razoul/configuration.rb, line 5 def initialize @token_prefix = 'Razoul_Auth' @database = 'redis' @token_key = 'RAZOUL_AUTH_KEY' @expiration_time = 60 end
Public Instance Methods
has_attr?(key)
click to toggle source
# File lib/razoul/configuration.rb, line 12 def has_attr?(key) respond_to?(key) end