class Amanuensis::ValidationError

Public Class Methods

new(klass) click to toggle source
# File lib/amanuensis/validatable.rb, line 4
def initialize(klass)
  @klass = klass
end

Public Instance Methods

message() click to toggle source
# File lib/amanuensis/validatable.rb, line 8
def message
  "Please make sure you correclty set all the required fields for #{@klass}, read the documentation here: http://alaibe.github.io/amanuensis/"
end