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.
425 426 427 428 |
# File 'lib/lms/canvas.rb', line 425 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.
423 424 425 |
# File 'lib/lms/canvas.rb', line 423 def auth @auth end |