module Suretax::Concerns::Validatable::ClassMethods

Attributes

validatable_attributes[W]

Public Instance Methods

validatable_attributes() click to toggle source
# File lib/suretax/concerns/validatable.rb, line 69
def validatable_attributes
  @validatable_attributes ||= []
end
validate(*attribute_names) click to toggle source
# File lib/suretax/concerns/validatable.rb, line 65
def validate(*attribute_names)
  self.validatable_attributes = attribute_names
end