class EndpointFlux::Exceptions::Unauthorized

Public Instance Methods

to_hash() click to toggle source
# File lib/endpoint_flux/exceptions/unauthorized.rb, line 4
def to_hash
  {
    status: 401,
    message: 'Unauthorized'
  }
end