module Roda::RodaPlugins::NotAllowed::RequestMethods

def method_not_allowed(verbs)

to the given string of allowed request methods.
Set the response status to 405 (Method Not Allowed), and set the Allow header
def method_not_allowed(verbs)
  res = response
  res.status = 405
  res[RodaResponseHeaders::ALLOW] = verbs
  nil
end