Exception: JobNotifier::Error::BlankAttribute

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

Instance Method Summary collapse

Constructor Details

#initialize(attribute) ⇒ BlankAttribute

Returns a new instance of BlankAttribute.



16
17
18
# File 'lib/job_notifier/error.rb', line 16

def initialize(attribute)
  super("#{attribute} cant be blank")
end