razorpay / razorpay-ruby

Razorpay Ruby SDK
https://rubygems.org/gems/razorpay
MIT License
64 stars 59 forks source link

added generic entity #235

Closed ankitdas13 closed 11 months ago

ankitdas13 commented 1 year ago

Added Generic Entity with Get, Post , Put, Patch, Delete methods

According to this doc

Added some sample Api call

Existing entity (orders)

fetch order

Screenshot 2023-11-07 at 6 17 57 PM

post order

Screenshot 2023-11-07 at 6 19 04 PM

Non Existing entity (contacts)

fetch all contact

Screenshot 2023-11-07 at 6 17 25 PM
codecov-commenter commented 11 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (9aeddbc) 96.83% compared to head (02c676d) 96.77%.

Files Patch % Lines
lib/razorpay/generic.rb 94.11% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #235 +/- ## ========================================== - Coverage 96.83% 96.77% -0.06% ========================================== Files 35 36 +1 Lines 631 652 +21 ========================================== + Hits 611 631 +20 - Misses 20 21 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.