Methods

DataMapper::Serializer::ValidationErrors::ToJson

Public Instance Methods

to_json(*args) click to toggle source
    # File lib/dm-serializer/to_json.rb, line 71
71:         def to_json(*args)
72:           MultiJson.encode(Hash[ errors ])
73:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.