Class: ProbeDockRSpec::TestPayload
- Inherits:
-
Object
- Object
- ProbeDockRSpec::TestPayload
- Defined in:
- lib/probe_dock_rspec/test_payload.rb
Defined Under Namespace
Classes: Error
Instance Method Summary collapse
-
#initialize(run) ⇒ TestPayload
constructor
A new instance of TestPayload.
- #to_h(options = {}) ⇒ Object
Constructor Details
#initialize(run) ⇒ TestPayload
Returns a new instance of TestPayload.
10 11 12 |
# File 'lib/probe_dock_rspec/test_payload.rb', line 10 def initialize run @run = run end |
Instance Method Details
#to_h(options = {}) ⇒ Object
14 15 16 |
# File 'lib/probe_dock_rspec/test_payload.rb', line 14 def to_h = {} @run.to_h end |