Class: PicoApi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/pico_api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db_config) ⇒ Configuration

Returns a new instance of Configuration.



26
27
28
# File 'lib/pico_api/configuration.rb', line 26

def initialize(db_config)
  @db_config = db_config
end

Instance Attribute Details

#db_configObject (readonly)

Returns the value of attribute db_config.



23
24
25
# File 'lib/pico_api/configuration.rb', line 23

def db_config
  @db_config
end

#errors_mapObject

Returns the value of attribute errors_map.



24
25
26
# File 'lib/pico_api/configuration.rb', line 24

def errors_map
  @errors_map
end

#lib_pathObject

Returns the value of attribute lib_path.



24
25
26
# File 'lib/pico_api/configuration.rb', line 24

def lib_path
  @lib_path
end

#loggerObject

Returns the value of attribute logger.



24
25
26
# File 'lib/pico_api/configuration.rb', line 24

def logger
  @logger
end

#namespaceObject

Returns the value of attribute namespace.



24
25
26
# File 'lib/pico_api/configuration.rb', line 24

def namespace
  @namespace
end