Class: ProbeDockRSpec::TestPayload

Inherits:
Object
  • Object
show all
Defined in:
lib/probe_dock_rspec/test_payload.rb

Defined Under Namespace

Classes: Error

Instance Method Summary collapse

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 options = {}
  @run.to_h options
end