Class: Allure::StatusDetails
- Defined in:
- lib/allure_ruby_commons/model/status_details.rb
Overview
Allure model status detail object
Instance Attribute Summary collapse
-
#flaky ⇒ Object
Returns the value of attribute flaky.
-
#known ⇒ Object
Returns the value of attribute known.
-
#message ⇒ Object
Returns the value of attribute message.
-
#muted ⇒ Object
Returns the value of attribute muted.
-
#trace ⇒ Object
Returns the value of attribute trace.
Instance Method Summary collapse
-
#initialize(known: false, muted: false, flaky: false, message: nil, trace: nil) ⇒ StatusDetails
constructor
A new instance of StatusDetails.
Methods inherited from JSONable
Constructor Details
#initialize(known: false, muted: false, flaky: false, message: nil, trace: nil) ⇒ StatusDetails
Returns a new instance of StatusDetails.
11 12 13 14 15 16 17 18 19 |
# File 'lib/allure_ruby_commons/model/status_details.rb', line 11 def initialize(known: false, muted: false, flaky: false, message: nil, trace: nil) super() @known = known @muted = muted @flaky = flaky @message = @trace = trace end |
Instance Attribute Details
#flaky ⇒ Object
Returns the value of attribute flaky.
21 22 23 |
# File 'lib/allure_ruby_commons/model/status_details.rb', line 21 def flaky @flaky end |
#known ⇒ Object
Returns the value of attribute known.
21 22 23 |
# File 'lib/allure_ruby_commons/model/status_details.rb', line 21 def known @known end |
#message ⇒ Object
Returns the value of attribute message.
21 22 23 |
# File 'lib/allure_ruby_commons/model/status_details.rb', line 21 def @message end |
#muted ⇒ Object
Returns the value of attribute muted.
21 22 23 |
# File 'lib/allure_ruby_commons/model/status_details.rb', line 21 def muted @muted end |
#trace ⇒ Object
Returns the value of attribute trace.
21 22 23 |
# File 'lib/allure_ruby_commons/model/status_details.rb', line 21 def trace @trace end |