# File lib/deltacloud/drivers/rhevm/rhevm_client.rb, line 152 def auth_header # As RDOC says this is the function for strict_encode64: encoded_credentials = ["#{@credentials[:username]}:#{@credentials[:password]}"].pack("m0").gsub(/\n/,'') { :authorization => "Basic " + encoded_credentials } end