Class: Openapi3Parser::NodeFactories::Reference
- Inherits:
-
Object
- Object
- Openapi3Parser::NodeFactories::Reference
- Includes:
- Openapi3Parser::NodeFactory::Object
- Defined in:
- lib/openapi3_parser/node_factories/reference.rb
Constant Summary
Constants included from Openapi3Parser::NodeFactory
Openapi3Parser::NodeFactory::EXTENSION_REGEX
Instance Attribute Summary collapse
-
#factory ⇒ Object
readonly
Returns the value of attribute factory.
Attributes included from Openapi3Parser::NodeFactory
Instance Method Summary collapse
-
#initialize(context, factory) ⇒ Reference
constructor
A new instance of Reference.
Methods included from Openapi3Parser::NodeFactory::Object
#allowed_extensions?, #field_configs, included
Methods included from Openapi3Parser::NodeFactory
#allowed_default?, #errors, included, #nil_input?, #node, #valid?
Constructor Details
#initialize(context, factory) ⇒ Reference
Returns a new instance of Reference.
15 16 17 18 |
# File 'lib/openapi3_parser/node_factories/reference.rb', line 15 def initialize(context, factory) @factory = factory super(context) end |
Instance Attribute Details
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
13 14 15 |
# File 'lib/openapi3_parser/node_factories/reference.rb', line 13 def factory @factory end |