class Toro::Job
Constants
- STATUSES
Public Class Methods
statuses()
click to toggle source
# File lib/toro/job.rb, line 22 def statuses STATUSES end
Public Instance Methods
set_properties(hash)
click to toggle source
# File lib/toro/job.rb, line 27 def set_properties(hash) self.properties ||= {} hash.each do |key, value| self.properties[key.to_s] = value end end
to_s()
click to toggle source
# File lib/toro/job.rb, line 34 def to_s "Toro::Job ##{id}" end