-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support-set-affiliate-approval (#72)
* Isort code in tests * Support offer files * Isort * Isort * Isort!! * Fix changelog entry, remove excess class * Support Offer::setAffiliateApproval method * Add test cases * Add noqa for unused import * Cover boolean response * Fix changelog entry * Fix cassetes * Isort * Add support ofr affiliate unblock and various get methods for Offer * Fix method names and test cases
- Loading branch information
1 parent
29c9081
commit ef04521
Showing
9 changed files
with
1,141 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from .core import Model, ModelManager | ||
|
||
|
||
class AffiliateOffer(Model): | ||
"""" | ||
Model that defines relation between Offer and Affiliate | ||
""" | ||
pass | ||
|
||
|
||
class AffiliateOfferManager(ModelManager): | ||
model = AffiliateOffer | ||
name = 'affiliate_offers' |
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
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
Oops, something went wrong.