class PgUtils::Configuration

Attributes

local_database[RW]
local_database_password[RW]
local_database_username[RW]
local_folder[RW]
remote_backup_folder[RW]
remote_database_name[RW]
remote_database_password[RW]
remote_database_username[RW]
ssh_host[RW]
ssh_password[RW]
ssh_port[RW]
ssh_user[RW]

Public Class Methods

new() click to toggle source
# File lib/pg_utils/configuration.rb, line 7
def initialize
  self.instance_variables.each do |var|
    instance_variable_set("@#{var}", nil)
  end
  @ssh_port ||= 22
end