lib/shp_api/json_responder.rb
# Render http 400 for missing parameters (rescue_from)
Render http 400 for missing parameters (rescue_from)
Render http 400 for missing parameters ( rescue_from )
def param_missing(exception: nil)
      msg = exception ? exception.message : "Parameter missing"
      @controller.render partial: "shp_api/error", locals: { message: msg, error_code: "param_missing" }, status: 400
      return false
    end
def param_missing ( exception : nil ) msg = exception ? exception . message : "Parameter missing" @controller . render partial : "shp_api/error" , locals : { message : msg , error_code : "param_missing" } , status : 400 return false end
Render http 400 for missing parameters (rescue_from)
Render http 400 for missing parameters ( rescue_from )
exception
<not_specific>