Class: Nesta::Page
- Inherits:
-
Object
- Object
- Nesta::Page
- Defined in:
- lib/nesta-plugin-cache/init.rb
Instance Method Summary collapse
Instance Method Details
#expires ⇒ Object
15 16 17 |
# File 'lib/nesta-plugin-cache/init.rb', line 15 def expires ('expires').nil? ? nil : ('expires').to_i end |
#expires_type ⇒ Object
19 20 21 |
# File 'lib/nesta-plugin-cache/init.rb', line 19 def expires_type ('expires type').nil? ? nil : ('expires type').to_sym end |