Class: Mountapi::Config
- Inherits:
-
Object
- Object
- Mountapi::Config
- Defined in:
- lib/mountapi/config.rb
Overview
Config management
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#open_api_spec ⇒ Object
Returns the value of attribute open_api_spec.
-
#user_info_adapter ⇒ Object
Returns the value of attribute user_info_adapter.
-
#version_in_path ⇒ Object
Returns the value of attribute version_in_path.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
Constructor setting the version path prefix to true by default and registering the logger.
Constructor Details
#initialize ⇒ Config
Constructor setting the version path prefix to true by default and registering the logger
12 13 14 15 |
# File 'lib/mountapi/config.rb', line 12 def initialize @version_in_path = true @logger = Logger.new(STDOUT) end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
8 9 10 |
# File 'lib/mountapi/config.rb', line 8 def logger @logger end |
#open_api_spec ⇒ Object
Returns the value of attribute open_api_spec.
9 10 11 |
# File 'lib/mountapi/config.rb', line 9 def open_api_spec @open_api_spec end |
#user_info_adapter ⇒ Object
Returns the value of attribute user_info_adapter.
8 9 10 |
# File 'lib/mountapi/config.rb', line 8 def user_info_adapter @user_info_adapter end |
#version_in_path ⇒ Object
Returns the value of attribute version_in_path.
8 9 10 |
# File 'lib/mountapi/config.rb', line 8 def version_in_path @version_in_path end |