lib/rest_model/errors.rb in rest_model-0.1.19 vs lib/rest_model/errors.rb in rest_model-0.1.20

- old
+ new

@@ -7,9 +7,13 @@ def initialize(errors) @errors = errors end + def message + @errors + end + def self.exception(errors = {}) new(errors) end end end \ No newline at end of file