Sha256: 4e02dae404250c226ef7e9c7c64423de2c0330c33462b55c3a6fcf0ae4550ec1
Contents?: true
Size: 571 Bytes
Versions: 1
Compression:
Stored size: 571 Bytes
Contents
class Job < ActiveRecord::Base Job.table_name = 'job' Job.primary_key = 'jobid' Job.inheritance_column = 'ruby_type' def type; self.attributes['type']; end if MYSQL Job.table_name = "Job" def id; self.JobId; end def name; self.Name; end def level; self.Level; end def jobstatus; self.JobStatus; end def jobfiles; self.JobFiles; end def jobbytes; self.JobBytes; end def schedtime; self.SchedTime; end def starttime; self.StartTime; end def endtime; self.EndTime; end def type; self.attributes['Type']; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bacuview-1.5 | app/models/job.rb |