Class: OnlyofficeTestrailWrapper::ExampleServiceUnavailableException
- Inherits:
-
Object
- Object
- OnlyofficeTestrailWrapper::ExampleServiceUnavailableException
- Defined in:
- lib/onlyoffice_testrail_wrapper/testrail_helper/example_service_unavailable_exception.rb
Overview
Class for example with exception ‘Service Unavailable`
Instance Method Summary collapse
-
#comment ⇒ String
Comment for this exception.
-
#initialize(example) ⇒ ExampleServiceUnavailableException
constructor
A new instance of ExampleServiceUnavailableException.
-
#result ⇒ Symbol
Result of this exception.
Constructor Details
#initialize(example) ⇒ ExampleServiceUnavailableException
Returns a new instance of ExampleServiceUnavailableException.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_helper/example_service_unavailable_exception.rb', line 6 def initialize(example) @example = example end |
Instance Method Details
#comment ⇒ String
Returns comment for this exception.
16 17 18 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_helper/example_service_unavailable_exception.rb', line 16 def comment "\n#{@example.exception}" end |
#result ⇒ Symbol
Returns result of this exception.
11 12 13 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_helper/example_service_unavailable_exception.rb', line 11 def result :service_unavailable end |