Beanstalk

Ruby Gem for Rails 2

We created a set of ActiveResource wrappers to make your work with the Beanstalk API a bit easier.

Installation

First enable API access in your account settings. Only account owner can do that.

Then install Beanstalk gem on your machine:

shell
gem install beanstalkapp

Usage

Here’s a quick example on how to get started with the gem right away:

ruby

require 'rubygems'
require 'beanstalkapp'

Beanstalk::API::Base.setup(
  :domain   => "your_beanstalk_account_subdomain",
  :login    => "login",
  :password => "password"
)

Beanstalk::API::Account.find

You can get the source code of the gem on our Github account.