Module: SimpleHelper::Https
- Defined in:
- lib/simple_helper/request.rb
Class Method Summary collapse
Class Method Details
.error_handler(message: nil) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/simple_helper/request.rb', line 30 def error_handler(message: nil) { "status": 400, "error": 'Bad Request', "message": } end |