Sha256: 2b2d4a3e7f3ea1235f2437d58ed7d76985532eda4916a1910f4268f9a8f284e9
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true json.key_format! camelize: :lower json.meta do render meta, json: json end json.schemas schemas.map(&:id) json.id id json.external_id external_id schemas.each do |schema| if schema.core? schema.attributes.each do |type| render dynamic_attributes[type.name], json: json end else json.set! schema.id do schema.attributes.each do |type| render dynamic_attributes[type.name], json: json end end end end
Version data entries
4 entries across 4 versions & 1 rubygems