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.
205 206 207 |
# File 'lib/device_detector.rb', line 205 def max_cache_keys @max_cache_keys end |
Instance Method Details
#to_hash ⇒ Object
207 208 209 210 211 |
# File 'lib/device_detector.rb', line 207 def to_hash { max_cache_keys: max_cache_keys } end |