Class: Swa::Glue::JobRun

Inherits:
Record
  • Object
show all
Defined in:
lib/swa/glue/job_run.rb

Instance Method Summary collapse

Methods inherited from Record

#data, delegate, #initialize, list, list_from_query

Constructor Details

This class inherits a constructor from Swa::Record

Instance Method Details

#started_onObject



19
20
21
# File 'lib/swa/glue/job_run.rb', line 19

def started_on
  aws_record.started_on.iso8601
end

#summaryObject



8
9
10
11
12
13
14
# File 'lib/swa/glue/job_run.rb', line 8

def summary
  [
    pad(id, 68),
    pad(job_run_state, 8),
    pad(started_on, 28)
  ].join("  ")
end