Class: Landable::AccessToken

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
TableName
Defined in:
app/models/landable/access_token.rb

Instance Method Summary collapse

Instance Method Details

#refresh!Object



16
17
18
# File 'app/models/landable/access_token.rb', line 16

def refresh!
  update_column :expires_at, 8.hours.from_now
end