added billing staging endpoint

This commit is contained in:
olegphenomenon 2022-02-07 11:16:43 +02:00
parent 5e0d1ff619
commit 61c90b73ca
4 changed files with 26 additions and 4 deletions

View file

@ -7,7 +7,12 @@ module EisBilling
# irb(main):048:0> decrypted_back = crypt.decrypt_and_verify(encrypted_data)
# =>
TOKEN = 'Bearer WA9UvDmzR9UcE5rLqpWravPQtdS8eDMAIynzGdSOTw==--9ZShwwij3qmLeuMJ--NE96w2PnfpfyIuuNzDJTGw=='.freeze
BASE_URL = ENV['eis_billing_system_base_url']
BASE_URL = ""
if Rails.env.staging?
BASE_URL = ENV['eis_billing_system_base_url_staging']
else
BASE_URL = ENV['eis_billing_system_base_url_dev']
end
INITIATOR = 'registry'
end
end