lib/sauce_whisk/tunnels.rb in sauce_whisk-0.0.8 vs lib/sauce_whisk/tunnels.rb in sauce_whisk-0.0.9

- old
+ new

@@ -21,9 +21,14 @@ end return tunnels end + def self.open(opts) + #opts[:tunnel_identifier] = opts.delete :tunnel_id + new_tunnel_parameters = JSON.parse post opts.to_json + end + def self.stop tunnel_id delete tunnel_id end def self.fetch tunnel_id