if !@app_key
# throw error here for unknown app
Rails.logger.error { "Invalid APP Key provided #{app_key}" }
render :status => 412, :error => "Invalid App Key", :nothing => true
end
如何匹配渲染 :status => 412, :error => "Invalid App Key"
if !@app_key
# throw error here for unknown app
Rails.logger.error { "Invalid APP Key provided #{app_key}" }
render :status => 412, :error => "Invalid App Key", :nothing => true
end
如何匹配渲染 :status => 412, :error => "Invalid App Key"