Exception: Squad::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/squad.rb

Instance Method Summary collapse

Instance Method Details

#bodyObject



57
# File 'lib/squad.rb', line 57

def body; {message: 'error'} end

#headerObject



56
# File 'lib/squad.rb', line 56

def header; DEFAULT_HEADER end

#statusObject



55
# File 'lib/squad.rb', line 55

def status; 500 end