module Doorkeeper::Validations::ClassMethods

def validate(attribute, options = {})

def validate(attribute, options = {})
  validations << { attribute: attribute, options: options }
end

def validations

def validations
  @validations ||= []
end