class ServerlessLocalSinatraApp

Public Class Methods

get_or_post(path, opts={}, &block) click to toggle source
# File lib/serverless_local_sinatra/application/app.rb, line 7
def self.get_or_post(path, opts={}, &block)
  get(path, opts, &block)
  post(path, opts, &block)
end