class Schdlr::Job
Public Class Methods
new(**args)
click to toggle source
# File lib/schdlr/job.rb, line 4 def initialize(**args) args.each do |k,v| self.send("#{k}=", v) end end
Public Instance Methods
failed!(reason)
click to toggle source
# File lib/schdlr/job.rb, line 10 def failed!(reason) raise reason.to_s end