Cerales/ShyCouch — Issue #15: Allow default options for views
Author: Cerales
Created: 2011-10-08 05:03:52+00:00
State: open

For example, an "all recipes'" view should probably default to `?include_docs=true`.

Possible syntax for this could be:

````ruby
view = ShyCouch::Data::View.new :all_recipes, { :include_docs => true } do
map do
emit(doc._id, null) if doc.kind == "Recipe"
end
end
````