lib/goauth2/client.rb in goauth2-0.0.1 vs lib/goauth2/client.rb in goauth2-0.0.2

- old
+ new

@@ -53,11 +53,11 @@ } ) end def access_token - refresh! @access_token ||= OAuth2::AccessToken.new(client, @token, :refresh_token => @refresh_token, :expires_at => @expires_at, :expires_in => @expires_in) + refresh! end private def refresh!