lib/fitting/response/fully_validates.rb in fitting-2.0.3 vs lib/fitting/response/fully_validates.rb in fitting-2.1.0

- old
+ new

@@ -20,15 +20,15 @@ def to_s @to_s ||= join("\n\n") end - private - - def self.fully_validate(schema, body, strict) - JSON::Validator.fully_validate(schema, body, :strict => strict) - rescue JSON::Schema::UriError - [] + class << self + def fully_validate(schema, body, strict) + JSON::Validator.fully_validate(schema, body, strict: strict) + rescue JSON::Schema::UriError + [] + end end end end end