Exception: Copyleaks::UnderMaintenanceException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUnderMaintenanceException

Returns a new instance of UnderMaintenanceException.



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

def initialize
  @reason = 'Copyleaks is Under Maintenance, please visit https://status.copyleaks.com'
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



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

def reason
  @reason
end