class Dynamoid::Errors::DocumentNotValid

Attributes

document[R]

Public Class Methods

new(document) click to toggle source
Calls superclass method
# File lib/dynamoid/errors.rb, line 69
def initialize(document)
  super("Validation failed: #{document.errors.full_messages.join(', ')}")
  @document = document
end