Module: TtlExpirable

Extended by:
ActiveSupport::Concern
Included in:
DependencyProxy::Blob, DependencyProxy::Manifest
Defined in:
app/models/concerns/ttl_expirable.rb

Instance Method Summary collapse

Instance Method Details

#read!Object



16
17
18
# File 'app/models/concerns/ttl_expirable.rb', line 16

def read!
  self.update(read_at: Time.zone.now)
end