Class: Orchestration::Services::Database::Adapters::Postgresql
- Inherits:
-
Object
- Object
- Orchestration::Services::Database::Adapters::Postgresql
- Defined in:
- lib/orchestration/services/database/adapters/postgresql.rb
Instance Method Summary collapse
Instance Method Details
#credentials ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/orchestration/services/database/adapters/postgresql.rb', line 8 def credentials { 'username' => 'postgres', 'password' => 'password', 'database' => 'postgres' } end |
#default_port ⇒ Object
20 21 22 |
# File 'lib/orchestration/services/database/adapters/postgresql.rb', line 20 def default_port 5432 end |
#errors ⇒ Object
16 17 18 |
# File 'lib/orchestration/services/database/adapters/postgresql.rb', line 16 def errors [PG::ConnectionBad] end |