lib/probe_dock_ruby/client.rb in probedock-ruby-0.1.0 vs lib/probe_dock_ruby/client.rb in probedock-ruby-0.1.1
- old
+ new
@@ -1,5 +1,7 @@
+require 'paint'
+
module ProbeDockProbe
class Client
def initialize server, options = {}
@@ -39,10 +41,10 @@
private
def build_payload test_run, options = {}
begin
- TestPayload.new(test_run).to_h options
+ test_run.to_h options
rescue PayloadError => e
fail e.message
end
end