class Vx::Lib::Message::PerformJob

Public Class Methods

test_attributes(options = {}) click to toggle source
# File lib/vx/lib/message/testing.rb, line 60
def test_attributes(options = {})
  Message.common.merge(
    before_script: 'echo before_script',
    script:        'echo script',
    after_script:  'echo after_script',
  ).merge(options)
end
test_message(options = {}) click to toggle source
# File lib/vx/lib/message/testing.rb, line 68
def test_message(options = {})
  new test_attributes(options)
end