From 3dc531b127106ca7821f77ba38a88f08ea0edca8 Mon Sep 17 00:00:00 2001 From: Daniel Tesfai Date: Mon, 9 Sep 2019 02:08:25 -0400 Subject: [PATCH] updated licensing --- .gitignore | 6 ++++-- LICENSE.txt => LICENSE | 0 setup.py | 2 +- tests/__init__.py | 0 voipms/api/__init__.py | 24 ++++++++++++------------ 5 files changed, 17 insertions(+), 15 deletions(-) rename LICENSE.txt => LICENSE (100%) delete mode 100644 tests/__init__.py diff --git a/.gitignore b/.gitignore index dde18d1..5604ef9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ __pycache__/ *.py[cod] *$py.class *.pyc +*.swp # Installer logs pip-log.txt @@ -25,12 +26,13 @@ share pyvenv.cfg templates *.egg-info +man +include # Unit test / coverage reports .coverage .pytest_cache/ .tox -test.py .DS_Store @@ -41,4 +43,4 @@ htmlcov* .python-version # Visual Studio Code -.vscode/ \ No newline at end of file +.vscode/ diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/setup.py b/setup.py index 718511c..257aaf1 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: setup( name="voipms-python", - version="0.0.1", + version="0.0.2", description="Python wrapper for the voip.ms REST API", long_description=long_description, long_description_content_type="text/markdown", diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/voipms/api/__init__.py b/voipms/api/__init__.py index 9451b08..30fa38d 100644 --- a/voipms/api/__init__.py +++ b/voipms/api/__init__.py @@ -118,16 +118,16 @@ class Client(object): @property def termination_rates(self): - return self.call_detail_records.termination_rates - - @property - def search(self): - return self.dids.search - - @property - def sms(self): - return self.dids.sms - - @property - def messages(self): + return self.call_detail_records.termination_rates + + @property + def search(self): + return self.dids.search + + @property + def sms(self): + return self.dids.sms + + @property + def messages(self): return self.voicemail.messages \ No newline at end of file