module Doorkeeper::Models::Revocable

def revoke(clock = DateTime)

def revoke(clock = DateTime)
  update_column :revoked_at, clock.now
end

def revoked?

def revoked?
  revoked_at.present?
end