Skip to content

Commit

Permalink
Create config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bolaurent authored Mar 1, 2017
1 parent 4bfb560 commit 5f71d60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import os
import json

#
# Zuora REST configuration
#

ZUORA_CONFIGFILE = os.path.expanduser('~') + '/.zuora-sandbox-config.json'
ZUORA_REST_ENDPOINT = 'https://rest.apisandbox.zuora.com/v1'
with open(ZUORA_CONFIGFILE, 'r') as f:
zuoraConfig = json.load(f)
zuoraConfig['endpoint'] = ZUORA_REST_ENDPOINT

0 comments on commit 5f71d60

Please sign in to comment.