class Evrone::CI::Message::JobStatus

Public Class Methods

test_attributes(options = {}) click to toggle source
# File lib/evrone/ci/message/testing.rb, line 29
def test_attributes(options = {})
  {
    build_id: 1,
    job_id:   2,
    status:   0,
    tm:       1376137604,
    tm_usec:  1234,
    matrix:   ["env:FOO = 1", "rvm:1.9.3"]
  }.merge(options)
end
test_message(options = {}) click to toggle source
# File lib/evrone/ci/message/testing.rb, line 40
def test_message(options = {})
  new test_attributes(options)
end