philnash/bitly — pull request #20 by jonstorer (2012-01-15 22:11:24+00:00)
Title: Bitly supports client OAuth and ApiKey access

Strategy::ApiKey to be used with Login and apiKey
Strategy::OAuth to be used with Client ID and Client Secret
Strategy::AccessToken to be used as the access token of a User or Client

Updated Client to use Strategy::ApiKey and Strategy::OAuth
- Updated Strategy::OAuth to use Strategy::AccessToken
Updated User to use Strategy::AccessToken

Refactored all requests to use a single method
Created Bitly::Response to proxy strategy response types
Updated BitlyError to accept a response, more information
Seperated Unit Tests from Integration Tests

Extended Hash and String with helper methods
Changed from FlexMock to Mocha (stubbing issues)