Exception: JobNotifier::Error::Validation

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/job_notifier/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject (readonly)

Returns the value of attribute error.



29
30
31
# File 'lib/job_notifier/error.rb', line 29

def error
  @error
end