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.



195
196
197
# File 'lib/device_detector.rb', line 195

def max_cache_keys
  @max_cache_keys
end

Instance Method Details

#to_hashObject



197
198
199
200
201
# File 'lib/device_detector.rb', line 197

def to_hash
  {
    max_cache_keys: max_cache_keys
  }
end