Class: Vx::Message::JobLog

Inherits:
Object
  • Object
show all
Includes:
Beefcake::Message
Defined in:
lib/vx/message/testing.rb,
lib/vx/message/messages.pb.rb

Class Method Summary collapse

Class Method Details

.test_attributes(options = {}) ⇒ Object



67
68
69
70
71
72
73
74
# File 'lib/vx/message/testing.rb', line 67

def test_attributes(options = {})
  {
    build_id: 1,
    job_id:   2,
    log:      'log',
    tm:       1376137604,
  }.merge(options)
end

.test_message(options = {}) ⇒ Object



76
77
78
# File 'lib/vx/message/testing.rb', line 76

def test_message(options = {})
  new test_attributes(options)
end