Class: Committee::Drivers::HyperSchema::Schema
- Defined in:
- lib/committee/drivers/hyper_schema/schema.rb
Instance Attribute Summary collapse
-
#driver ⇒ Object
A link back to the derivative instance 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 instance of Committee::Drivers::Driver that create this schema.
9 10 11 |
# File 'lib/committee/drivers/hyper_schema/schema.rb', line 9 def driver @driver end |
#routes ⇒ Object
Returns the value of attribute routes.
11 12 13 |
# File 'lib/committee/drivers/hyper_schema/schema.rb', line 11 def routes @routes end |
#validator_option ⇒ Object (readonly)
Returns the value of attribute validator_option.
13 14 15 |
# File 'lib/committee/drivers/hyper_schema/schema.rb', line 13 def validator_option @validator_option end |
Instance Method Details
#build_router(options) ⇒ Object
15 16 17 18 |
# File 'lib/committee/drivers/hyper_schema/schema.rb', line 15 def build_router() @validator_option = Committee::SchemaValidator::Option.new(, self, :hyper_schema) Committee::SchemaValidator::HyperSchema::Router.new(self, @validator_option) end |