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



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

def self.convert body, statuscode
  body
end