Class: Evrone::CI::Message::BuildInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/evrone/ci/message/testing.rb

Class Method Summary collapse

Class Method Details

.test_attributes(options = {}) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/evrone/ci/message/testing.rb', line 11

def test_attributes(options = {})
  {
    build_id:       1,
    commit_author:  'Автор по русски',
    commit_message: 'Сообщение по русски',
  }.merge(options)
end

.test_message(options = {}) ⇒ Object



19
20
21
# File 'lib/evrone/ci/message/testing.rb', line 19

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