class Rack::Delegate::NetworkErrorResponse
Public Class Methods
call(env)
click to toggle source
# File lib/rack/delegate/network_error_response.rb, line 4 def self.call(env) new(env).call end
Public Instance Methods
call()
click to toggle source
# File lib/rack/delegate/network_error_response.rb, line 8 def call status = 504 headers = {'Content-Type' => 'text/plain'} body = ["Gateway Timeout\n"] [status, headers, body] end