Sha256: d726b555e75ee1565a86bc585a27c89f34e232f3e3f9f72dbef52b651abb40eb

Contents?: true

Size: 185 Bytes

Versions: 2

Compression:

Stored size: 185 Bytes

Contents

require 'ixtlan/babel/serializer'
class DataMapper::Validations::ValidationErrorsSerializer < Ixtlan::Babel::Serializer

  def to_hash( o = nil)
    @model_or_models.to_hash
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ixtlan-babel-0.5.0 lib/ixtlan/babel/dm_validation_errors_serializer.rb
ixtlan-babel-0.4.0 lib/ixtlan/babel/dm_validation_errors_serializer.rb