Sha256: e348acab8081b5478175a6612094af63e8f391d7697a4c61ad7ac4d01f50db71
Contents?: true
Size: 351 Bytes
Versions: 40
Compression:
Stored size: 351 Bytes
Contents
module OpenAPIParser::Parser::Hash def _openapi_attr_hash_objects @_openapi_attr_hash_objects ||= {} end def openapi_attr_hash_object(name, klass, options = {}) target_klass.send(:attr_reader, name) _openapi_attr_hash_objects[name] = ::OpenAPIParser::SchemaLoader::HashObjectsLoader.new(name, options.merge(klass: klass)) end end
Version data entries
40 entries across 40 versions & 2 rubygems