Class: Minuteman::Rails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/minuteman/rails/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#redisObject

Returns the value of attribute redis.



4
5
6
# File 'lib/minuteman/rails/configuration.rb', line 4

def redis
  @redis
end

#silentObject

Returns the value of attribute silent.



4
5
6
# File 'lib/minuteman/rails/configuration.rb', line 4

def silent
  @silent
end

Instance Method Details

#to_hashObject



6
7
8
9
10
11
# File 'lib/minuteman/rails/configuration.rb', line 6

def to_hash
  {
    silent: silent || false,
    redis:  redis || {}
  }
end