Sha256: a9da138779771a3ef9d37f922d20511f5d98a1fecaab53c140417f3cea8b2697

Contents?: true

Size: 491 Bytes

Versions: 13

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

module Orchestration
  module Services
    module Database
      module Adapters
        class Postgresql
          def credentials
            {
              'username' => 'postgres',
              'password' => 'password',
              'database' => 'postgres'
            }
          end

          def errors
            [PG::ConnectionBad]
          end

          def default_port
            5432
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
orchestration-0.3.3 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.3.2 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.3.1 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.3.0 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.8 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.7 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.6 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.5 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.4 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.3 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.2 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.1 lib/orchestration/services/database/adapters/postgresql.rb
orchestration-0.2.0 lib/orchestration/services/database/adapters/postgresql.rb