Class: RoxClient::TestPayload
- Inherits:
-
Object
- Object
- RoxClient::TestPayload
- Defined in:
- lib/rox-client-ruby/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/rox-client-ruby/test_payload.rb', line 10 def initialize run @run = run end |
Instance Method Details
#to_h(options = {}) ⇒ Object
14 15 16 17 |
# File 'lib/rox-client-ruby/test_payload.rb', line 14 def to_h = {} # version 1 payload consists of one test run @run.to_h end |