Config | = | Struct.new(:database_name).new |
Returns the underlying CouchRest database object if you want low level access to your CouchDB. You have to set the CouchPotato::Config.database_name before this works.
Returns a database instance which you can then use to create objects and query views. You have to set the CouchPotato::Config.database_name before this works.