Module | Sinatra::Rabbit |
In: |
lib/sinatra/rabbit.rb
|
Create a new collection. NAME should be the pluralized name of the collection.
Adds a helper method #{name}_url which returns the URL to the :index operation on this collection.
Make sure this collection can be accessed, regardless of whether the driver supports it or not