Class: FakeSQS::WebInterface

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/fake_sqs/web_interface.rb

Class Method Summary collapse

Class Method Details

.handle(path, verbs, &block) ⇒ Object



8
9
10
11
12
# File 'lib/fake_sqs/web_interface.rb', line 8

def self.handle(path, verbs, &block)
  verbs.each do |verb|
    send(verb, path, &block)
  end
end