Class: DeviceDetector::Configuration
- Inherits:
-
Object
- Object
- DeviceDetector::Configuration
- Defined in:
- lib/device_detector.rb
Instance Attribute Summary collapse
-
#max_cache_keys ⇒ Object
Returns the value of attribute max_cache_keys.
Instance Method Summary collapse
Instance Attribute Details
#max_cache_keys ⇒ Object
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_hash ⇒ Object
197 198 199 200 201 |
# File 'lib/device_detector.rb', line 197 def to_hash { max_cache_keys: max_cache_keys } end |