-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename to Paddle Client for org move
- Loading branch information
Showing
7 changed files
with
27 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
from .paddle import Paddle, PaddleException # NOQA: F401 | ||
|
||
__version__ = '0.1.0' | ||
from .paddle import PaddleClient, PaddleException # NOQA: F401 |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[tool.poetry] | ||
name = "paddle-python" | ||
name = "paddle-client" | ||
packages = [ | ||
{include = "paddle"} | ||
] | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
description = "Python wrapper around the Paddle.com API" | ||
license = "MIT" | ||
authors = ["Matt Pye <[email protected]>"] | ||
readme = "README.md" | ||
repository = "https://github.com/pyepye/paddle-python" | ||
homepage = "https://github.com/pyepye/paddle-python" | ||
repository = "https://github.com/paddle-python/paddle-client" | ||
homepage = "https://github.com/paddle-python/paddle-client" | ||
keywords = ["paddle", "paddle.com", "payments", "billing", "commerce", "finance", "saas"] | ||
|
||
[tool.poetry.dependencies] | ||
|
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import pytest | ||
|
||
from paddle import Paddle, PaddleException | ||
from paddle import PaddleClient, PaddleException | ||
|
||
from .test_paddle import paddle_client, unset_vendor_id # NOQA: F401 | ||
|
||
|
||
def test_get_user_history_with_vendor_id(unset_vendor_id): # NOQA: F811 | ||
email = '[email protected]' | ||
vendor_id = 11 | ||
paddle = Paddle(vendor_id=vendor_id) | ||
paddle = PaddleClient(vendor_id=vendor_id) | ||
response = paddle.get_user_history(email=email, vendor_id=vendor_id) | ||
assert response == 'We\'ve sent details of your past transactions, licenses and downloads to you via email.' # NOQA: E501 | ||
|
||
|
@@ -33,6 +33,6 @@ def test_get_user_history_with_product_id(paddle_client): # NOQA: F811 | |
def test_get_user_history_missing_vendoer_id_and_product_id(unset_vendor_id): # NOQA: F811, E501 | ||
email = '[email protected]' | ||
vendor_id = 11 | ||
paddle = Paddle(vendor_id=vendor_id) | ||
paddle = PaddleClient(vendor_id=vendor_id) | ||
response = paddle.get_user_history(email=email) | ||
assert response == 'We\'ve sent details of your past transactions, licenses and downloads to you via email.' # NOQA: E501 |