lib/fitting/cover/response.rb in fitting-2.17.0 vs lib/fitting/cover/response.rb in fitting-2.18.0
- old
+ new
@@ -11,14 +11,10 @@
@flags = @cover_json_schemas.json_schemas.map do |json_schema|
JSON::Validator.validate(json_schema, response.body)
end
end
- attr_reader :json_schemas
-
- attr_reader :combinations
-
- attr_reader :flags
+ attr_reader :json_schemas, :combinations, :flags
def update(response)
index = 0
@cover_json_schemas.json_schemas.map do |json_schema|
flag = JSON::Validator.validate(json_schema, response.body)