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

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