File: __init__.py

package info (click to toggle)
chargebee2-python 2.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 644 kB
  • sloc: python: 2,035; makefile: 3; sh: 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,
    })