Exception: Seam::Http::UnauthorizedError
- Defined in:
- lib/seam/http.rb
Instance Attribute Summary
Attributes inherited from ApiError
#code, #data, #request_id, #status_code
Instance Method Summary collapse
-
#initialize(request_id) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Constructor Details
#initialize(request_id) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
33 34 35 |
# File 'lib/seam/http.rb', line 33 def initialize(request_id) super({type: "unauthorized", message: "Unauthorized"}, 401, request_id) end |