Sha256: 72f94ba9c617b5fad75d6fbb51c8f761d41521b4bb9ec1acd0a3a8ad2d1c9342
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
require 'jobs_dashboard/storage' module JobsDashboard::Worker include JobsDashboard::Storage class Stopped < StandardError end def set_job_parameter(param_name, value) begin store_for_id(jid, { "#{param_name}": value }) rescue ActiveModel::UnknownAttributeError end end def add_job_log_line(value) add_log_for_id(jid, value) end def add_job_metadata(key, value) add_metadata_for_id(jid, key, value) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jobs_dashboard-0.3.4 | lib/jobs_dashboard/worker.rb |