Exception: Copyleaks::AuthExipredException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/copyleaks/models/exceptions/auth_exipred_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAuthExipredException

Returns a new instance of AuthExipredException.



28
29
30
# File 'lib/copyleaks/models/exceptions/auth_exipred_exception.rb', line 28

def initialize
  @reason = 'Authentication Expired. Need to login again'
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



26
27
28
# File 'lib/copyleaks/models/exceptions/auth_exipred_exception.rb', line 26

def reason
  @reason
end