Class: R2OAS::Schema::V3::InfoObject

Inherits:
Dynamic::Schema::V3::HookableBaseObject show all
Defined in:
lib/r2-oas/schema/v3/object/from_routes/info_object.rb

Instance Attribute Summary

Attributes inherited from Dynamic::Schema::V3::HookableBaseObject

#doc

Instance Method Summary collapse

Methods inherited from Dynamic::Schema::V3::HookableBaseObject

execute_hook, has_hook?, hook, hook=, hooks, inherited, #initialize, off, on, #use_superclass_hook

Methods inherited from BaseObject

#components_object_class, #components_request_body_object_class, #components_schema_object_class, #external_document_object_class, #info_object_class, #initialize, #path_item_object_class, #paths_object_class

Constructor Details

This class inherits a constructor from R2OAS::Dynamic::Schema::V3::HookableBaseObject

Instance Method Details

#to_docObject



9
10
11
12
13
14
# File 'lib/r2-oas/schema/v3/object/from_routes/info_object.rb', line 9

def to_doc
  execute_before_create
  create_doc
  execute_after_create
  doc
end