Sha256: e79e57428f90156fde26c019064ad76666959581fb9758b4f8a6966fe6696f5a
Contents?: true
Size: 402 Bytes
Versions: 11
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true require_relative '../schemas/ref_schema' module Meta module JsonSchema class RefSchemaBuilder def initialize(options) options = options.dup @ref_schema_builder = options.delete(:ref) @base_options = options end def to_schema RefSchema.new(@ref_schema_builder.to_schema, @base_options) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems