Sha256: cd29a1fa7ebc210f2a78537c3ffce7a8cc4d237d29c35579eec100603394ed42

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

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

    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.4 lib/remote_db/configuration.rb
remote_db-0.0.3 lib/remote_db/configuration.rb
remote_db-0.0.2 lib/remote_db/configuration.rb
remote_db-0.0.1 lib/remote_db/configuration.rb