lib/rakuna/content/json.rb in rakuna-0.7.3 vs lib/rakuna/content/json.rb in rakuna-0.7.4
- old
+ new
@@ -25,10 +25,10 @@
MultiJson.dump output
end
def valid?
return true unless self.methods.include? validation_schema
- @valid ||= JSON::Validator.validate validation_schema, request.body.to_s
+ @valid ||= ::JSON::Validator.validate validation_schema, request.body.to_s
end
end
end
end