Exception: Seam::Http::UnauthorizedError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/seam/http.rb

Instance Attribute Summary

Attributes inherited from ApiError

#code, #data, #request_id, #status_code

Instance Method Summary collapse

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