Sha256: e3c68fa44ec8ce6fa4d6dc3e4359a2eb7cd79824d52bf67fbd1c4f120a434705
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
require "json/generator/version" require "json/generator/basic_attribute" require "json/generator/empty_attribute" require "json/generator/string_attribute" require "json/generator/integer_attribute" require "json/generator/array_attribute" require "json/generator/object_attribute" require "json/generator/boolean_attribute" require "json/generator/attribute_factory" require "json/generator/dereferencer" module JSON module Generator def self.generate(schema) dereferenced_schema = Dereferencer.dereference(schema) AttributeFactory.create(dereferenced_schema).generate end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
json-generator-0.0.1 | lib/json/generator.rb |