Exception: Served::Resource::Unauthorized

Inherits:
HttpError show all
Defined in:
lib/served/resource/http_errors.rb

Overview

401 Unauthorized

Instance Attribute Summary

Attributes inherited from HttpError

#code, #errors, #message, #response, #server_backtrace

Class Method Summary collapse

Methods inherited from HttpError

#initialize, #status

Constructor Details

This class inherits a constructor from Served::Resource::HttpError

Class Method Details

.codeObject



51
52
53
# File 'lib/served/resource/http_errors.rb', line 51

def self.code
  401
end