lib/fitbit_api/client.rb in fitbit_api-0.15.2 vs lib/fitbit_api/client.rb in fitbit_api-0.15.3

- old
+ new

@@ -175,10 +175,10 @@ process_keys!(response_body) end def auth_headers - { 'Authorization' => "Basic #{Base64.encode64("#{@client_id}:#{@client_secret}")}" } + { 'Authorization' => "Basic #{Base64.strict_encode64("#{@client_id}:#{@client_secret}")}" } end def default_request_headers { 'User-Agent' => "fitbit_api gem (v#{FitbitAPI::VERSION})",