Skip to content

Commit 578ff50

Browse files
committed
upgraded: to v0.0.3
1 parent 537f52e commit 578ff50

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# thepeer python-sdk
1+
# Thepeer python-sdk
22

33
![example workflow](https://github.com/thepeerstack/python-sdk/actions/workflows/pytests.yml/badge.svg) ![PyPI - Downloads](https://img.shields.io/pypi/dm/pythepeer?style=flat-square) ![PyPI - License](https://img.shields.io/pypi/l/pythepeer) ![PyPI](https://img.shields.io/pypi/v/pythepeer) ![Codecov](https://img.shields.io/codecov/c/gh/E-wave112/py-thepeer?token=gYijsI9TCm)
44

@@ -14,14 +14,14 @@ pip install pythepeer
1414
```
1515

1616
## Usage
17-
Instantiate the ThepeerInit class like so:
17+
Instantiate ```Thepeer``` class like so:
1818
```python
1919
import thepeer
20-
from thepeer.main import ThepeerInit
20+
from thepeer.main import Thepeer
2121

2222
# create an instance of ThepeerInit class
2323

24-
thepeer_instance = ThepeerInit("YOUR_API_KEY_HERE")
24+
thepeer_instance = Thepeer("YOUR_API_KEY_HERE")
2525

2626
```
2727

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="pythepeer",
15-
version="0.0.2",
15+
version="0.0.3",
1616
description="official python sdk for interacting with thepeer payment processing \
1717
infrastructure",
1818
author="Osagie Iyayi",

thepeer/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from utils.exceptions.handleErrors import SwitchErrorStates # noqa: E402
1313

1414

15-
class ThepeerInit:
15+
class Thepeer:
1616
def __init__(self, secret):
1717
# pass a default value for the url
1818
self.url = BASE_URL

thepeer/tests/thepeer_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
22
from thepeer import main # type: ignore
33

4-
thepeer_test_suites = main.ThepeerInit("pssk_test_vwww1yvvpymamtut26x5tvpx1znrcmeis2k0kvcmwzjax")
4+
thepeer_test_suites = main.Thepeer("pssk_test_vwww1yvvpymamtut26x5tvpx1znrcmeis2k0kvcmwzjax")
55

66

77
class ThePeerInitMethods(unittest.TestCase):

0 commit comments

Comments
 (0)