Class: OasRage::Configuration
- Inherits:
-
OasCore::Configuration
- Object
- OasCore::Configuration
- OasRage::Configuration
- Defined in:
- lib/oas_rage/configuration.rb
Instance Attribute Summary collapse
-
#autodiscover_request_body ⇒ Object
Returns the value of attribute autodiscover_request_body.
-
#autodiscover_responses ⇒ Object
Returns the value of attribute autodiscover_responses.
-
#ignored_actions ⇒ Object
Returns the value of attribute ignored_actions.
-
#include_mode ⇒ Object
Returns the value of attribute include_mode.
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#rapidoc_theme ⇒ Object
Returns the value of attribute rapidoc_theme.
-
#route_extractor ⇒ Object
readonly
Returns the value of attribute route_extractor.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/oas_rage/configuration.rb', line 8 def initialize super @route_extractor = RouteExtractor @include_mode = :all @autodiscover_request_body = true @autodiscover_responses = true @ignored_actions = [] @rapidoc_theme = :rails @layout = nil # TODO: implement # autodiscover_request_body # autodiscover_responses end |
Instance Attribute Details
#autodiscover_request_body ⇒ Object
Returns the value of attribute autodiscover_request_body.
5 6 7 |
# File 'lib/oas_rage/configuration.rb', line 5 def autodiscover_request_body @autodiscover_request_body end |
#autodiscover_responses ⇒ Object
Returns the value of attribute autodiscover_responses.
5 6 7 |
# File 'lib/oas_rage/configuration.rb', line 5 def autodiscover_responses @autodiscover_responses end |
#ignored_actions ⇒ Object
Returns the value of attribute ignored_actions.
5 6 7 |
# File 'lib/oas_rage/configuration.rb', line 5 def ignored_actions @ignored_actions end |
#include_mode ⇒ Object
Returns the value of attribute include_mode.
6 7 8 |
# File 'lib/oas_rage/configuration.rb', line 6 def include_mode @include_mode end |
#layout ⇒ Object
Returns the value of attribute layout.
5 6 7 |
# File 'lib/oas_rage/configuration.rb', line 5 def layout @layout end |
#rapidoc_theme ⇒ Object
Returns the value of attribute rapidoc_theme.
5 6 7 |
# File 'lib/oas_rage/configuration.rb', line 5 def rapidoc_theme @rapidoc_theme end |
#route_extractor ⇒ Object (readonly)
Returns the value of attribute route_extractor.
6 7 8 |
# File 'lib/oas_rage/configuration.rb', line 6 def route_extractor @route_extractor end |