viddler/viddler-ruby — pull request #1 by ljuti (2011-12-23 13:22:43+00:00)
Title: Adds the ability to request a record token from Viddler API

Hi guys,

I'm building an app that uses Viddler to record user videos and wanted to add the ability to request record tokens over the API.

Here's a pull request that adds the ability to request the token while authenticating by passing third optional parameter :get_record_token to authenticate! method. It defaults to false so it won't request the token unless you specifically want it.

I added an attr_accessor called :record_token to the Client class for storing the token.

Check it out and apply to the gem if you feel like it would be useful for others, too.

Best regards,

-- Lauri