Sha256: 7b6c50fd14503ae24135d55b5765e0eb8857b7ece15fd8e763bd1d59fbeb3ada

Contents?: true

Size: 342 Bytes

Versions: 41

Compression:

Stored size: 342 Bytes

Contents

module OpenAPIParser::Parser::List
  def _openapi_attr_list_objects
    @_openapi_attr_list_objects ||= {}
  end

  def openapi_attr_list_object(name, klass, options = {})
    target_klass.send(:attr_reader, name)
    _openapi_attr_list_objects[name] = OpenAPIParser::SchemaLoader::ListLoader.new(name, options.merge(klass: klass))
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
openapi_parser-2.2.3 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-2.2.2 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-2.2.1 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-2.2.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-2.1.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-2.0.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser_firetail-1.0.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-1.0.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-1.0.0.beta1 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.15.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.14.1 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.14.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.13.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.12.1 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.12.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.11.2 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.11.1 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.11.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.10.0 lib/openapi_parser/concerns/parser/list.rb
openapi_parser-0.9.0 lib/openapi_parser/concerns/parser/list.rb