Class: Kapnismology::Success
- Inherits:
-
BaseResult
- Object
- BaseResult
- Kapnismology::Success
- Defined in:
- lib/kapnismology/result.rb
Overview
Use this class when your test is not valid in the current situation For instance when you have a test for deployments that have not happen, etc.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from BaseResult
#data, #extra_messages, #message
Instance Method Summary collapse
-
#initialize(data, message) ⇒ Success
constructor
A new instance of Success.
Methods inherited from BaseResult
#add_extra_messages, #passed?, #to_hash, #to_s
Constructor Details
#initialize(data, message) ⇒ Success
Returns a new instance of Success.
88 89 90 91 92 93 |
# File 'lib/kapnismology/result.rb', line 88 def initialize(data, ) @passed = true @data = data = = [] end |