Module: Avm::Postgresql::InstanceWith
- Defined in:
- lib/avm/postgresql/instance_with.rb
Instance Method Summary collapse
Instance Method Details
#pg ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/avm/postgresql/instance_with.rb', line 9 def pg @pg ||= ::Avm::Postgresql::Instance.new( host_env, user: read_entry(::Avm::Instances::EntryKeys::DATABASE_USERNAME), password: read_entry(::Avm::Instances::EntryKeys::DATABASE_PASSWORD), name: read_entry(::Avm::Instances::EntryKeys::DATABASE_NAME) ) end |