Class: Nesta::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/nesta-plugin-cache/init.rb

Instance Method Summary collapse

Instance Method Details

#expiresObject



15
16
17
# File 'lib/nesta-plugin-cache/init.rb', line 15

def expires
  ('expires').nil? ? nil : ('expires').to_i
end

#expires_typeObject



19
20
21
# File 'lib/nesta-plugin-cache/init.rb', line 19

def expires_type
  ('expires type').nil? ? nil : ('expires type').to_sym
end