lib/grape.rb in grape-1.7.0 vs lib/grape.rb in grape-1.7.1
- old
+ new
@@ -275,9 +275,17 @@
autoload :SameAsValidator
autoload :ValuesValidator
end
end
end
+
+ module Types
+ extend ::ActiveSupport::Autoload
+
+ eager_autoload do
+ autoload :InvalidValue
+ end
+ end
end
require 'grape/config'
require 'grape/content_types'