Update d3_api_client.rb

change old c format to ruby string