class FakeServiceBus::WebInterface

Public Class Methods

handle(path, verbs, &block) click to toggle source
# File lib/fake_servicebus/web_interface.rb, line 8
def self.handle(path, verbs, &block)
  verbs.each do |verb|
    send(verb, path, &block)
  end
end

Public Instance Methods

action() click to toggle source
# File lib/fake_servicebus/web_interface.rb, line 19
def action
  params.fetch("Action")
end