lib/grape/validations/validators/coerce.rb in grape-1.2.4 vs lib/grape/validations/validators/coerce.rb in grape-1.2.5
- old
+ new
@@ -1,7 +1,11 @@
module Grape
class API
Boolean = Virtus::Attribute::Boolean
+
+ class Instance
+ Boolean = Virtus::Attribute::Boolean
+ end
end
module Validations
class CoerceValidator < Base
def initialize(*_args)