HasTests API

Library for accessing HasTests API (hastests.com) services from Ruby

Example

require 'rubygems'
require 'hastests'

>> ht = Hastests::Account.new
>> p = ht.add_program("internet.email().list()")

# Random sampling:

>> p.generate()["data"]
>> p.generate()["data"]
>> p.generate()["data"]

# Repeatable sampling:

>> p.generate(123)["data"]
>> p.generate(123)["data"]
>> p.generate(123)["data"]

Copyright © 2011, Spawngrid, Inc.