Sha256: 6e25bd5ac72b483aa0aec3da22c3984485b964389e1780069c0231253bfd4f70
Contents?: true
Size: 467 Bytes
Versions: 39
Compression:
Stored size: 467 Bytes
Contents
module OpenAPIParser::Parser::HashBody def _openapi_attr_hash_body_objects @_openapi_attr_hash_body_objects ||= {} end def openapi_attr_hash_body_objects(name, klass, options = {}) # options[:reject_keys] = options[:reject_keys] ? options[:reject_keys].map(&:to_s) : [] target_klass.send(:attr_reader, name) _openapi_attr_hash_body_objects[name] = ::OpenAPIParser::SchemaLoader::HashBodyLoader.new(name, options.merge(klass: klass)) end end
Version data entries
39 entries across 39 versions & 2 rubygems