kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

Handled invalid invalid OAuth access token and secret #34

Closed girishso closed 12 years ago

girishso commented 12 years ago

Hi,

I have handled the case when OAuth authentication fails because the access token and secret are invalid.

OAuthClient#current_user throws AuthenticationError in case of invalid access token and secret

Thanks, Girish

kylejginavan commented 12 years ago

This as been tested and ready to rock. Nice addition. Thanks for you continued contributions.

girishso commented 12 years ago

You are welcome!