File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ Changelog for Razorpay-Ruby SDK.
44
55## Unreleased
66
7+ ## [ 2.2.0] - 2018-01-29
8+ ### Added
9+ - Support for Subscriptions
10+
711## [ 2.1.0] - 2017-11-17
812### Changed
913- Generic ` Razorpay::Error ` is thrown when server is unreachable
@@ -61,7 +65,8 @@ Changelog for Razorpay-Ruby SDK.
6165### Added
6266- Initial Release
6367
64- [ Unreleased ] : https://github.com/razorpay/razorpay-ruby/compare/2.1.0...HEAD
68+ [ Unreleased ] : https://github.com/razorpay/razorpay-ruby/compare/2.2.0...HEAD
69+ [ 2.2.0 ] : https://github.com/razorpay/razorpay-ruby/compare/2.1.0...2.2.0
6570[ 2.1.0 ] : https://github.com/razorpay/razorpay-ruby/compare/2.0.1...2.1.0
6671[ 2.1.0.pre ] : https://github.com/razorpay/razorpay-ruby/compare/2.0.1...2.1.0.pre
6772[ 2.0.1 ] : https://github.com/razorpay/razorpay-ruby/compare/2.0.0...2.0.1
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ def self.fetch(id)
1313 request . fetch id
1414 end
1515
16- # request.post "/subscriptions/#{subscription_id}/addons", options
17- ## results in wrong url /v1/addons//subscriptions/sub_9UIyKhqF0C64AM/addons
1816 def self . create ( subscription_id , options )
1917 r = request
18+ # POST /addons is not supported
19+ # Addon creation endpoint is:
20+ # POST subscriptions/{sub_id}/addons
2021 r . request :post , "/subscriptions/#{ subscription_id } /addons" , options
2122 end
2223 end
Original file line number Diff line number Diff line change 22module Razorpay
33 BASE_URI = 'https://api.razorpay.com/v1/' . freeze
44 TEST_URL = 'https://api.razorpay.com/' . freeze
5- VERSION = '2.1 .0' . freeze
5+ VERSION = '2.2 .0' . freeze
66end
You can’t perform that action at this time.
0 commit comments