Sha256: d94e1fcf305273ed49538f1b324e667ca3f8a68741e9ec720d20bcb2adec625c

Contents?: true

Size: 452 Bytes

Versions: 4

Compression:

Stored size: 452 Bytes

Contents

module RemoteDb
  class Configuration
    attr_accessor :adapter
    attr_accessor :pool
    attr_accessor :host
    attr_accessor :username
    attr_accessor :password
    attr_accessor :database
    attr_accessor :environment

    def connection_spec
      {
        adapter:   adapter ,
        pool:      pool,
        host:      host,
        username:  username,
        password:  password,
        database:  database
      }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
remote_db-0.0.8 lib/remote_db/configuration.rb
remote_db-0.0.7 lib/remote_db/configuration.rb
remote_db-0.0.6 lib/remote_db/configuration.rb
remote_db-0.0.5 lib/remote_db/configuration.rb