Module: Avm::EacPostgresqlBase0::InstanceWith

Defined in:
lib/avm/eac_postgresql_base0/instance_with.rb

Instance Method Summary collapse

Instance Method Details

#pgObject



9
10
11
12
13
14
15
16
17
# File 'lib/avm/eac_postgresql_base0/instance_with.rb', line 9

def pg
  @pg ||= ::Avm::EacPostgresqlBase0::Instance.new(
    host_env, host: database_hostname,
              port: database_port,
              user: database_username,
              password: database_password,
              name: database_name
  )
end