call

in core/ruby2.5Action/rackapp/middleware/post_method_validation.rb [20:27]


  def call(env)
    if Rack::Request.new(env).request_method == 'POST' then
      @app.call(env)
    else
      Rack::Response.new 'Something went wrong with the request', 500
    end
  end