-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding support to corporate card transactions api (#24)
adding support to corporate card transactions api (#24)
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
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
17 changes: 17 additions & 0 deletions
17
fyle/platform/apis/v1/admin/corporate_card_transactions.py
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,17 @@ | ||
""" | ||
V1 Admin Corporate Card Transactions | ||
""" | ||
|
||
from ....internals.get_resources import GetResources | ||
from ....internals.list_all_resources import ListAllResources | ||
from ....internals.list_resources import ListResources | ||
from ....internals.post_resources import PostResources | ||
|
||
|
||
class CorporateCardTransactions(ListResources, ListAllResources, PostResources, GetResources): | ||
"""Class for Corporate Card Transactions APIs.""" | ||
|
||
CORPORATE_CARD_TRANSACTIONS = '/corporate_card_transactions' | ||
|
||
def __init__(self, version, role): | ||
super().__init__(version, role, CorporateCardTransactions.CORPORATE_CARD_TRANSACTIONS) |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='fyle', | ||
version='v0.16.0', | ||
version='v0.17.0', | ||
author='Siva Narayanan', | ||
author_email='[email protected]', | ||
description='Python SDK for accessing Fyle Platform APIs', | ||
|