class RailsParam::Validator::Custom
Public Instance Methods
valid_value?()
click to toggle source
# File lib/rails_param/validator/custom.rb, line 4 def valid_value? !options[:custom].call(value) end
Private Instance Methods
error_message()
click to toggle source
# File lib/rails_param/validator/custom.rb, line 10 def error_message; end