Exception: LMS::Canvas::TokenException
- Inherits:
-
CanvasException
- Object
- RuntimeError
- CanvasException
- LMS::Canvas::TokenException
- Defined in:
- lib/lms/canvas.rb
Direct Known Subclasses
InvalidTokenException, RefreshToken500Exception, RefreshTokenFailedException, RefreshTokenRequired
Instance Attribute Summary collapse
-
#auth ⇒ Object
readonly
Returns the value of attribute auth.
Attributes inherited from CanvasException
Instance Method Summary collapse
-
#initialize(message = "", status = nil, result = nil, auth = nil) ⇒ TokenException
constructor
A new instance of TokenException.
Constructor Details
#initialize(message = "", status = nil, result = nil, auth = nil) ⇒ TokenException
Returns a new instance of TokenException.
414 415 416 417 |
# File 'lib/lms/canvas.rb', line 414 def initialize( = "", status = nil, result = nil, auth = nil) super(, status, result) @auth = auth end |
Instance Attribute Details
#auth ⇒ Object (readonly)
Returns the value of attribute auth.
412 413 414 |
# File 'lib/lms/canvas.rb', line 412 def auth @auth end |