Module CouchRest
In: lib/couchrest.rb
lib/couchrest/middlewares/logger.rb
lib/couchrest/commands/push.rb
lib/couchrest/commands/generate.rb
lib/couchrest/attributes.rb
lib/couchrest/helper/pager.rb
lib/couchrest/helper/streamer.rb
lib/couchrest/helper/attachments.rb
lib/couchrest/helper/upgrade.rb
lib/couchrest/rest_api.rb
lib/couchrest/server.rb
lib/couchrest/document.rb
lib/couchrest/design.rb
lib/couchrest/support/inheritable_attributes.rb
lib/couchrest/database.rb

Copyright (c) 2006-2009 David Heinemeier Hansson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Extracted From github.com/rails/rails/commit/971e2438d98326c994ec6d3ef8e37b7e868ed6e2

Methods

database   database!   new   paramify_url   parse   proxy  

Classes and Modules

Module CouchRest::Attachments
Module CouchRest::Attributes
Module CouchRest::Commands
Module CouchRest::InheritableAttributes
Module CouchRest::RestAPI
Class CouchRest::Database
Class CouchRest::Design
Class CouchRest::Document
Class CouchRest::ExtendedDocument
Class CouchRest::Logger
Class CouchRest::Pager
Class CouchRest::Server
Class CouchRest::Streamer
Class CouchRest::Upgrade

Public Class methods

ensure that a database exists creates it if it isn‘t already there returns it after it‘s been created

todo, make this parse the url and instantiate a Server or Database instance depending on the specificity.

set proxy to use

[Validate]