class Departure::Configuration

Attributes

enabled_by_default[RW]
error_log_filename[R]
global_percona_args[RW]
tmp_path[RW]

Public Class Methods

new() click to toggle source
# File lib/departure/configuration.rb, line 5
def initialize
  @tmp_path = '.'.freeze
  @error_log_filename = 'departure_error.log'.freeze
  @global_percona_args = nil
  @enabled_by_default = true
end

Public Instance Methods

error_log_path() click to toggle source
# File lib/departure/configuration.rb, line 12
def error_log_path
  File.join(tmp_path, error_log_filename)
end