Class: DeviceDetector::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/device_detector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#max_cache_keysObject

Returns the value of attribute max_cache_keys.



205
206
207
# File 'lib/device_detector.rb', line 205

def max_cache_keys
  @max_cache_keys
end

Instance Method Details

#to_hashObject



207
208
209
210
211
# File 'lib/device_detector.rb', line 207

def to_hash
  {
    max_cache_keys: max_cache_keys
  }
end