Class: Committee::Drivers::Schema
- Inherits:
-
Object
- Object
- Committee::Drivers::Schema
- Defined in:
- lib/committee/drivers/schema.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 instance 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
13 14 15 |
# File 'lib/committee/drivers/schema.rb', line 13 def build_router() raise "needs implementation" end |
#driver ⇒ Object
A link back to the derivative instance of Committee::Drivers::Driver that create this schema.
9 10 11 |
# File 'lib/committee/drivers/schema.rb', line 9 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
18 19 20 |
# File 'lib/committee/drivers/schema.rb', line 18 def supports_stub? true end |