Module: Cequel::Record::Callback

Defined in:
lib/cequel/record/validations.rb

Instance Method Summary collapse

Instance Method Details

#valid?(context = nil) ⇒ Boolean

Returns:

  • (Boolean)


86
87
88
# File 'lib/cequel/record/validations.rb', line 86

def valid?(context=nil)
  run_callbacks(:validation) { super context }
end