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.



397
398
399
400
# File 'lib/lms/canvas.rb', line 397

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.



395
396
397
# File 'lib/lms/canvas.rb', line 395

def auth
  @auth
end