class Ros::FailureApp
Failure response to return JSONAPI error message when authentication failse
Public Class Methods
call(env)
click to toggle source
# File lib/ros/core.rb, line 53 def self.call(env) [ '401', { 'Content-Type' => 'application/vnd.api+json' }, [ { errors: [{ status: '401', title: 'Unauthorized' }] }.to_json ] ] end