Environment setting for the api URL

Hi, I was just wondering if there was a setting I've overlooked on the Ruby SDK for changing the environment for the API URL?

The settings are clear for the login URL, which is great, but looking at the gem code it looks hard coded for the actual API call?

Any suggestion/help round this would be greatly appreciated.

Thanks

You should be able to set the host property on the config object:

PureCloud.configure do |config|
  config.host = 'api.mypurecloud.com'
end

Knew I must have just missed it, cheers Tim!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.