razorpay / razorpay-ruby

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

handle v1 and v2 api version #225

Closed ankitdas13 closed 10 months ago

ankitdas13 commented 11 months ago

Added for Php sdk pr for your reference

https://github.com/razorpay/razorpay-php/pull/348/files#diff-74d71c4d1f9d84b9b0d946ca96eb875274f95d60611611d84cc01cdf6ed04021R42

codecov-commenter commented 10 months ago

Codecov Report

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

Comparison is base (a283340) 97.86% compared to head (9a43567) 96.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #225 +/- ## ========================================== - Coverage 97.86% 96.83% -1.04% ========================================== Files 29 35 +6 Lines 515 631 +116 ========================================== + Hits 504 611 +107 - Misses 11 20 +9 ``` | [Files](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay) | Coverage Δ | | |---|---|---| | [lib/razorpay.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5LnJi) | `100.00% <100.00%> (ø)` | | | [lib/razorpay/addon.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L2FkZG9uLnJi) | `100.00% <100.00%> (ø)` | | | [lib/razorpay/card.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L2NhcmQucmI=) | `100.00% <100.00%> (ø)` | | | [lib/razorpay/iin.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L2lpbi5yYg==) | `100.00% <100.00%> (ø)` | | | [lib/razorpay/order.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L29yZGVyLnJi) | `100.00% <100.00%> (ø)` | | | [lib/razorpay/request.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L3JlcXVlc3QucmI=) | `94.64% <100.00%> (ø)` | | | [lib/razorpay/virtual\_account.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L3ZpcnR1YWxfYWNjb3VudC5yYg==) | `96.00% <100.00%> (ø)` | | | [lib/razorpay/token.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L3Rva2VuLnJi) | `92.85% <92.85%> (ø)` | | | [lib/razorpay/webhook.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L3dlYmhvb2sucmI=) | `96.15% <96.15%> (ø)` | | | [lib/razorpay/product.rb](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay#diff-bGliL3Jhem9ycGF5L3Byb2R1Y3QucmI=) | `90.00% <90.00%> (ø)` | | | ... and [2 more](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/razorpay/razorpay-ruby/pull/225/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=razorpay)

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