Class: Sinatra::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/sinatra/rabbit.rb

Direct Known Subclasses

Rabbit::BaseCollection

Class Method Summary collapse

Class Method Details

.options(path, opts = {}, &bk) ⇒ Object



34
35
36
# File 'lib/sinatra/rabbit.rb', line 34

def options(path, opts={}, &bk)
  route 'OPTIONS', path, opts, &bk
end