attachmentsme/ruby-box — pull request #99 by 2rba (2014-07-24 12:12:27+00:00)
Title: token refresh fix

Problem description: While access_token is refreshing the method RubyBox::Session.request is called twice with the same request param. That cause twice call of
request.add_field('Authorization', "Bearer #{@access_token.token}")
That lead to wrong header like authorization: Bearer oldaccess_token, Bearer newaccess_token
and failed auth

This fix assures there is no extra header (and also the same for the header As-User)