Created
October 24, 2013 02:26
-
-
Save mjallday/7130277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import balanced | |
class Invoice(balanced.Resource): | |
__metaclass__ = balanced.resources.resource_base(collection='invoices') | |
class Settlement(balanced.Resource): | |
__metaclass__ = balanced.resources.resource_base( | |
collection='settlements') | |
balanced.Invoice = Invoice | |
balanced.Settlement = Settlement |
Author
mjallday
commented
Oct 24, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment