module BazaModels::Model::CustomValidations::ClassMethods

Attributes

custom_validations[R]

Public Instance Methods

validate(method_name) click to toggle source
# File lib/baza_models/model/custom_validations.rb, line 9
def validate(method_name)
  @custom_validations ||= []
  @custom_validations << method_name
end