From f42c0e0fe5953677368ea75ddbf0380f9e8f3223 Mon Sep 17 00:00:00 2001 From: hawjefferson <47293714+hawjefferson@users.noreply.github.com> Date: Tue, 21 Jun 2022 22:03:32 +1000 Subject: [PATCH] Update main.rb Change host URL based on the mparticle hosting instance. The free trial is running on us2 pod hence the host needs to be changed. --- example/main.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/main.rb b/example/main.rb index 42dbbdc..06e5519 100755 --- a/example/main.rb +++ b/example/main.rb @@ -6,6 +6,8 @@ config = MParticle::Configuration.new config.api_key = 'REPLACE WITH API KEY' config.api_secret = 'REPLACE WITH API SECRET' +#if your mParticle instance is not hosted via https://app.mparticle.com, the additional parameter between app..mparticle.com will determine your region +#config.host = 'https://s2s.us2.mparticle.com' or 'https://s2s.au1.mparticle.com' or 'https://s2s.eu1.mparticle.com' # config.debugging = true api_instance = MParticle::EventsApi.new(config)