Method: CouchDB::Server#authentication_options
- Defined in:
- lib/couchdb/server.rb
#authentication_options ⇒ Object
56 57 58 |
# File 'lib/couchdb/server.rb', line 56 def self.username && self.password ? { :auth_type => :basic, :username => self.username, :password => self.password } : { } end |