Class: Arrest::Handlers::ErrorHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/arrest/handler.rb

Class Method Summary collapse

Class Method Details

.convert(body, statuscode) ⇒ Object

a function to convert the body of an http response to a meaningful error message



58
59
60
# File 'lib/arrest/handler.rb', line 58

def self.convert body, statuscode
  body
end