Sauce_ruby is a project mainly written in Ruby, based on the MIT license.
Sauce Lab Ruby Gem
Ruby access to SauceLab's features
Current:
Planned:
Make sure you're pulling in gems from http://rubygems.org/, and then:
gem install sauce
Here's how to start a tunnel using the Sauce gem require 'rubygems' require 'sauce'
account = YAML.load_file "live_account.yml"
client = Sauce::Client.new(:username => account["username"],
:access_key => account["access_key"])
tunnel = client.tunnel.create('DomainNames' => ["example.com"])
tunnel.refresh!
client.tunnels.all # => [#<Sauce::Tunnel:0x1250e6c
@host=nil,
@status="running",
@id="389a1c2a3d49861474c512e9a904be9e",
@client=#<RestClient::Resource:0x1257fb4
@block=nil,
@url="https://username:[email protected]/rest/username/",
@options={}>,
@owner="username">]
tunnel.destroy
Note on Patches/Pull Requests
Copyright (c) 2010 Sauce Labs Inc. See LICENSE for details.