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