Exception: Copyleaks::UnderMaintenanceException
- Inherits:
-
StandardError
- Object
- StandardError
- Copyleaks::UnderMaintenanceException
- Defined in:
- lib/copyleaks/models/exceptions/under_maintenance_exception.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize ⇒ UnderMaintenanceException
constructor
A new instance of UnderMaintenanceException.
Constructor Details
#initialize ⇒ UnderMaintenanceException
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
#reason ⇒ Object (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 |