Exception: JobNotifier::Error::Validation
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- JobNotifier::Error::Validation
- Defined in:
- lib/job_notifier/error.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ Validation
constructor
A new instance of Validation.
Constructor Details
#initialize(error) ⇒ Validation
Returns a new instance of Validation.
31 32 33 34 |
# File 'lib/job_notifier/error.rb', line 31 def initialize(error) super @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
29 30 31 |
# File 'lib/job_notifier/error.rb', line 29 def error @error end |