lib/grape/error_formatter/base.rb in grape-0.6.1 vs lib/grape/error_formatter/base.rb in grape-0.7.0

- old
+ new

@@ -1,11 +1,9 @@ module Grape module ErrorFormatter module Base - class << self - FORMATTERS = { serializable_hash: Grape::ErrorFormatter::Json, json: Grape::ErrorFormatter::Json, jsonapi: Grape::ErrorFormatter::Json, txt: Grape::ErrorFormatter::Txt, @@ -25,10 +23,9 @@ method(spec) else spec end end - end end end end