-
Notifications
You must be signed in to change notification settings - Fork 83
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
Added document endpoint #271
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #271 +/- ##
==========================================
+ Coverage 97.06% 97.55% +0.49%
==========================================
Files 62 64 +2
Lines 2009 2044 +35
==========================================
+ Hits 1950 1994 +44
+ Misses 59 50 -9 ☔ View full report in Codecov by Sentry. |
razorpay/__init__.py
Outdated
@@ -53,5 +54,6 @@ | |||
'Stakeholder', | |||
'Product', | |||
'Iin', | |||
'Webhook' | |||
'Webhook', | |||
'Document' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add ,
at the end
razorpay/resources/__init__.py
Outdated
@@ -45,5 +46,6 @@ | |||
'Stakeholder', | |||
'Product', | |||
'Iin', | |||
'Webhook' | |||
'Webhook', | |||
'Document' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add ,
at the end
tests/test_client_document.py
Outdated
|
||
def setUp(self): | ||
super(TestClientDocument, self).setUp() | ||
self.base_url = '{}/documents'.format(self.base_url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use string formater f'{self.base_url}/documents
. Do the same across the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Reference doc
Create a Document
Fetch Document Information