Sha256: b8c0044877400e508fc5c62336a144c129a3164440eebb9198cb3d5d5ea33a62
Contents?: true
Size: 319 Bytes
Versions: 1
Compression:
Stored size: 319 Bytes
Contents
module Brillo module Adapter class Postgres < Base def load_command host = config[:host] ? "--host #{config[:host]}" : "" password = config[:password] ? "-W#{config[:password]}" : "" "psql #{host} -U #{config[:username]} #{password} #{config[:database]}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brillo-1.1.0 | lib/brillo/adapter/postgres.rb |