Exception: LMS::Canvas::TokenException

Inherits:
CanvasException show all
Defined in:
lib/lms/canvas.rb

Instance Attribute Summary collapse

Attributes inherited from CanvasException

#message, #result, #status

Instance Method Summary collapse

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(message = "", status = nil, result = nil, auth = nil)
  super(message, status, result)
  @auth = auth
end

Instance Attribute Details

#authObject (readonly)

Returns the value of attribute auth.



412
413
414
# File 'lib/lms/canvas.rb', line 412

def auth
  @auth
end