class Discharger::SetupRunner::DatabaseConfig
def from_hash(hash)
def from_hash(hash) @port = hash["port"] if hash["port"] @name = hash["name"] if hash["name"] @version = hash["version"] if hash["version"] @password = hash["password"] if hash["password"] end
def initialize
def initialize @port = 5432 @name = "db-app" @version = "14" @password = "postgres" end