Class: Committee::Drivers::HyperSchema::Schema
- Defined in:
- lib/committee/drivers/hyper_schema.rb
Instance Attribute Summary collapse
-
#driver ⇒ Object
A link back to the derivative instace of Committee::Drivers::Driver that create this schema.
-
#routes ⇒ Object
Returns the value of attribute routes.
-
#validator_option ⇒ Object
readonly
Returns the value of attribute validator_option.
Instance Method Summary collapse
Methods inherited from Schema
Instance Attribute Details
#driver ⇒ Object
A link back to the derivative instace of Committee::Drivers::Driver that create this schema.
126 127 128 |
# File 'lib/committee/drivers/hyper_schema.rb', line 126 def driver @driver end |
#routes ⇒ Object
Returns the value of attribute routes.
128 129 130 |
# File 'lib/committee/drivers/hyper_schema.rb', line 128 def routes @routes end |
#validator_option ⇒ Object (readonly)
Returns the value of attribute validator_option.
130 131 132 |
# File 'lib/committee/drivers/hyper_schema.rb', line 130 def validator_option @validator_option end |
Instance Method Details
#build_router(options) ⇒ Object
132 133 134 135 |
# File 'lib/committee/drivers/hyper_schema.rb', line 132 def build_router() @validator_option = Committee::SchemaValidator::Option.new(, self, :hyper_schema) Committee::SchemaValidator::HyperSchema::Router.new(self, @validator_option) end |