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

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