Official Ruby gem for accessing Beanstalk RESTful API. Basically a set of pre-written ActiveResource classes with a few adjustments.
gem install beanstalkapp
ActiveResource 2.3.5
First enable API access in your Beanstalk account by going to Account > Setup. Only the account owner can do that.
Then in your code setup the API like that:
Beanstalk::API::Base.setup( :domain => 'your_beanstalk_subdomain', :login => 'login', :password => '12345' )
Then you can start using the API:
Beanstalk::API::Account.find
For information about all API methods please go to the official documentation site:
Copyright © 2011 Ilya Sabanin, Wildbit. Released under the MIT license