Class: R2OAS::Schema::V3::FromFiles::PathsObject
- Inherits:
-
BaseObject
- Object
- BaseObject
- R2OAS::Schema::V3::FromFiles::PathsObject
- Defined in:
- lib/r2-oas/schema/v3/object/from_files/paths_object.rb
Instance Method Summary collapse
-
#initialize(doc, opts = {}) ⇒ PathsObject
constructor
A new instance of PathsObject.
- #to_doc ⇒ Object
Methods inherited from BaseObject
Constructor Details
#initialize(doc, opts = {}) ⇒ PathsObject
Returns a new instance of PathsObject.
11 12 13 14 |
# File 'lib/r2-oas/schema/v3/object/from_files/paths_object.rb', line 11 def initialize(doc, opts = {}) super(opts) @doc = doc end |
Instance Method Details
#to_doc ⇒ Object
16 17 18 19 |
# File 'lib/r2-oas/schema/v3/object/from_files/paths_object.rb', line 16 def to_doc create_doc @doc end |