Class: OpenAPIParser::PathItemFinder::Result
- Inherits:
-
Object
- Object
- OpenAPIParser::PathItemFinder::Result
- Defined in:
- lib/openapi_parser/path_item_finder.rb
Instance Attribute Summary collapse
- #operation_object ⇒ OpenAPIParser::Schemas::Operation readonly
- #original_path ⇒ String readonly
- #path_item_object ⇒ OpenAPIParser::Schemas::PathItem readonly
- #path_params ⇒ Hash{String => String} readonly
Instance Method Summary collapse
-
#initialize(path_item_object, operation_object, original_path, path_params) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(path_item_object, operation_object, original_path, path_params) ⇒ Result
Returns a new instance of Result.
33 34 35 36 37 38 |
# File 'lib/openapi_parser/path_item_finder.rb', line 33 def initialize(path_item_object, operation_object, original_path, path_params) @path_item_object = path_item_object @operation_object = operation_object @original_path = original_path @path_params = path_params end |
Instance Attribute Details
#operation_object ⇒ OpenAPIParser::Schemas::Operation (readonly)
33 34 35 |
# File 'lib/openapi_parser/path_item_finder.rb', line 33 def operation_object @operation_object end |
#original_path ⇒ String (readonly)
33 34 35 |
# File 'lib/openapi_parser/path_item_finder.rb', line 33 def original_path @original_path end |
#path_item_object ⇒ OpenAPIParser::Schemas::PathItem (readonly)
33 34 35 |
# File 'lib/openapi_parser/path_item_finder.rb', line 33 def path_item_object @path_item_object end |
#path_params ⇒ Hash{String => String} (readonly)
33 34 35 |
# File 'lib/openapi_parser/path_item_finder.rb', line 33 def path_params @path_params end |