Module: Openapi::Configuration
- Included in:
- Openapi
- Defined in:
- lib/openapi/configuration.rb
Instance Attribute Summary collapse
-
#apis ⇒ Object
Returns the value of attribute apis.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#apis ⇒ Object
Returns the value of attribute apis.
3 4 5 |
# File 'lib/openapi/configuration.rb', line 3 def apis @apis end |
Class Method Details
.extended(base) ⇒ Object
9 10 11 |
# File 'lib/openapi/configuration.rb', line 9 def self.extended(base) base.set_default_configuration end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
5 6 7 |
# File 'lib/openapi/configuration.rb', line 5 def configure yield self end |
#set_default_configuration ⇒ Object
13 14 15 |
# File 'lib/openapi/configuration.rb', line 13 def set_default_configuration self.apis = {} end |