Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 #16

Merged
merged 9 commits into from Feb 4, 2018
Merged

v2.0.0 #16

merged 9 commits into from Feb 4, 2018

Conversation

tarnas14
Copy link
Contributor

  • Moved vouchers related methods to client.vouchers.* namespace
  • Moved redemptions related methods to client.redemptions.* namespace
  • Moved distributions related methods to client.distributions.* namespace
  • Renamed client.customer.* to client.customers.*
  • Removed outdated client.distributions.publish(campaignName) method interface
  • Fixed utils methods to accept vouchers with None gift

  • added some tests to check if the things are broken in the future
  • updated examples

methods: list, get, create, update, enable, disable

these methods are still available under client.*, but are marked as
deprecated
methods: redeem, getForVoucher, list, rollback
method voucherify.redemptions renamed to voucherify.listRedemptions
methods redeem, redemption, rollback are still available under
voucherify.*, but are marked as deprecated
client.publish method no longer exists
also added voucherify logo with python (TM) logo
@tarnas14 tarnas14 merged commit 9caeaf4 into master Feb 4, 2018
@tarnas14 tarnas14 deleted the namespace_revamp branch February 4, 2018 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant