Class: Committee::Drivers::Schema
- Inherits:
-
Object
- Object
- Committee::Drivers::Schema
- Defined in:
- lib/committee/drivers.rb
Overview
Schema is a base class for driver schema implementations.
Direct Known Subclasses
Instance Method Summary collapse
- #build_router(options) ⇒ Object
-
#driver ⇒ Object
A link back to the derivative instace of Committee::Drivers::Driver that create this schema.
-
#supports_stub? ⇒ Boolean
Stubs are supported in JSON Hyper-Schema and OpenAPI 2, but not yet in OpenAPI 3.
Instance Method Details
#build_router(options) ⇒ Object
114 115 116 |
# File 'lib/committee/drivers.rb', line 114 def build_router() raise "needs implementation" end |
#driver ⇒ Object
A link back to the derivative instace of Committee::Drivers::Driver that create this schema.
110 111 112 |
# File 'lib/committee/drivers.rb', line 110 def driver raise "needs implementation" end |
#supports_stub? ⇒ Boolean
Stubs are supported in JSON Hyper-Schema and OpenAPI 2, but not yet in OpenAPI 3
119 120 121 |
# File 'lib/committee/drivers.rb', line 119 def supports_stub? true end |