Module Expirable
In: lib/more/facets/expirable.rb

Generic expirability mixin.

Methods

Attributes

expires  [RW] 

Public Instance methods

Is this entry expired?

Set the expires timeout for this entry.

Set the expire timeout for this entry. The timeout happens after (base + rand(spread)) seconds.

Update the expiration period. Override in your application.

[Validate]