module LevelTravel::Settings
Constants
- DEFAULT_ERROR_LOAD_PATH
- DEFAULT_TIMEOUT
Public Instance Methods
api_token()
click to toggle source
# File lib/level_travel/settings.rb, line 10 def api_token @api_token end
api_token=(token)
click to toggle source
# File lib/level_travel/settings.rb, line 14 def api_token=(token) @api_token = token end
error_load_path()
click to toggle source
# File lib/level_travel/settings.rb, line 18 def error_load_path @error_load_path || DEFAULT_ERROR_LOAD_PATH end
error_load_path=(paths)
click to toggle source
# File lib/level_travel/settings.rb, line 22 def error_load_path=(paths) @error_load_path = paths end
timeout()
click to toggle source
# File lib/level_travel/settings.rb, line 26 def timeout @timeout || DEFAULT_TIMEOUT end
timeout=(seconds)
click to toggle source
# File lib/level_travel/settings.rb, line 30 def timeout=(seconds) @timeout = seconds end