File: __init__.py

package info (click to toggle)
chargebee2-python 2.2.3-1
  • links: PTS, VCS
  • area: contrib
  • in suites: stretch
  • size: 548 kB
  • ctags: 338
  • sloc: python: 1,213; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
from chargebee.api_error import APIError,PaymentError,InvalidRequestError,OperationFailedError
from chargebee.models import *
from chargebee.main import ChargeBee


def configure(api_key, site):
    ChargeBee.configure({
        'api_key': api_key,
        'site': site,
    })