Class: Vx::Message::PerformJob
- Inherits:
-
Object
- Object
- Vx::Message::PerformJob
- 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
49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/vx/message/testing.rb', line 49 def test_attributes( = {}) .merge({ project_id: [:project_id] || 1, build_id: [:build_id] || 1, name: [:name] || 'evrone/test-repo', job_id: [:job_id] || 2, before_script: [:before_script] || 'echo before_script', script: [:script] || 'echo script', after_script: [:after_script] || 'echo after_script' }) end |
.test_message(options = {}) ⇒ Object
61 62 63 |
# File 'lib/vx/message/testing.rb', line 61 def ( = {}) new test_attributes() end |