Class: Allure::Globals

Inherits:
JSONable show all
Defined in:
lib/allure_ruby_commons/model/globals.rb

Overview

Allure model run-level globals chunk

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from JSONable

#==, #to_hash, #to_json

Constructor Details

#initialize(attachments: [], errors: []) ⇒ Globals

Returns a new instance of Globals.

Parameters:



8
9
10
11
12
13
# File 'lib/allure_ruby_commons/model/globals.rb', line 8

def initialize(attachments: [], errors: [])
  super()

  @attachments = attachments
  @errors = errors
end

Instance Attribute Details

#attachments ⇒ Object

Returns the value of attribute attachments.



15
16
17
# File 'lib/allure_ruby_commons/model/globals.rb', line 15

def attachments
  @attachments
end

#errors ⇒ Object

Returns the value of attribute errors.



15
16
17
# File 'lib/allure_ruby_commons/model/globals.rb', line 15

def errors
  @errors
end