Class: Mountapi::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/mountapi/config.rb

Overview

Config management

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#loggerObject

Returns the value of attribute logger.



8
9
10
# File 'lib/mountapi/config.rb', line 8

def logger
  @logger
end

#open_api_specObject

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_adapterObject

Returns the value of attribute user_info_adapter.



8
9
10
# File 'lib/mountapi/config.rb', line 8

def 
  @user_info_adapter
end

#version_in_pathObject

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