Ruby Client Config

Has anyone had success using the Ruby Client? I can’t get the default config to load correctly:

[27] pry(main)> api = GraphHopperClient::VrpApi.new
=> #<GraphHopperClient::VrpApi:0x00007fc8f8ac9b58
 @api_client=
  #<GraphHopperClient::ApiClient:0x00007fc8f0fbb3a8
 @config=#<GraphHopperClient::Configuration:0x00007fc8f0fbb330>,
 @default_headers={"Content-Type"=>"application/json","User-Agent"=>"Swagger-Codegen/0.11-SNAPSHOT/ruby"},
 @user_agent="Swagger-Codegen/0.11-SNAPSHOT/ruby">>
[28] pry(main)> api.api_client.config.base_url
=>  ":"

All default config values are blank.

Any help would be appreciated.

1 Like