Method: Fitting::Records::Unit::Response#json_schemas

Defined in:
lib/fitting/records/unit/response.rb

#json_schemasObject



16
17
18
19
20
# File 'lib/fitting/records/unit/response.rb', line 16

def json_schemas
  @json_schemas ||= @documented_response['json_schemas'].inject([]) do |res, documented_json_schema|
    res.push(Fitting::Records::Unit::JsonSchema.new(documented_json_schema, tested_bodies))
  end
end