# File lib/generators/active_record/oauth_provider_templates/oauth_token.rb, line 12 def invalidate! update_attribute(:invalidated_at, Time.now) end