I've set up a new Rails 2.3.2 app and added the Basecamp API ruby wrapper to my /lib directory from here:
http://developer.37signals.com/basecamp/basecamp.rb
In my application_controller.rb I have created the following method to enable calls to Basecamp:
def basecamp_connect
Basecamp.establish_connection!('xxxxxx', 'xxxxxx', 'xxxxxx', false)
@basecamp = Basecamp.new
end
Can somebody provide an example of how I access the API from a controller to retrieve a list of To Do lists across all active Basecamp projects?