Sha256: c936971a30930fe9c984a6066967c5eedc58991f0122f0babd58e2b35dd5fb83
Contents?: true
Size: 386 Bytes
Versions: 40
Compression:
Stored size: 386 Bytes
Contents
module OpenAPIParser::Parser::Value def _openapi_attr_values @_openapi_attr_values ||= {} end def openapi_attr_values(*names) names.each { |name| openapi_attr_value(name) } end def openapi_attr_value(name, options = {}) target_klass.send(:attr_reader, name) _openapi_attr_values[name] = OpenAPIParser::SchemaLoader::ValuesLoader.new(name, options) end end
Version data entries
40 entries across 40 versions & 2 rubygems