Skip to content

Commit f785564

Browse files
authored
Merge pull request #107 from chargebee/release/sdk-ruby/v2.64.0
Releasing v2.64.0
2 parents 26559d6 + 623dd73 commit f785564

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
### v2.64.0 (2025-11-10)
2+
* * *
3+
4+
### Error Handling
5+
- Added new `ForbiddenError` class that inherits from `Error`
6+
- Enhanced `handle_for_error` method to detect and handle 403 status codes
7+
- Provides clear error message: "Access forbidden. You do not have permission to access this resource."
8+
9+
### Code Quality Improvements
10+
- Renamed `lib/chargebee/nativeRequest.rb``lib/chargebee/native_request.rb` to follow Ruby naming conventions
11+
- Refactored `handle_for_error` to return error objects instead of raising them inline (cleaner separation of concerns)
12+
- Added YARD documentation for `handle_for_error` method
13+
14+
### Testing
15+
- Added comprehensive test coverage for 403 error scenarios
16+
117
### v2.63.0 (2025-10-28)
218
* * *
319

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
chargebee (2.63.0)
4+
chargebee (2.64.0)
55
cgi (>= 0.1.0, < 1.0.0)
66

77
GEM

chargebee.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
44
s.rubygems_version = '1.3.5'
55
s.required_ruby_version = '>= 1.9.3'
66
s.name = 'chargebee'
7-
s.version = '2.63.0'
8-
s.date = '2025-10-28'
7+
s.version = '2.64.0'
8+
s.date = '2025-11-10'
99
s.summary = "Ruby client for Chargebee API."
1010
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
1111
s.metadata = {

lib/chargebee.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
module ChargeBee
100100

101-
VERSION = '2.63.0'
101+
VERSION = '2.64.0'
102102

103103
@@default_env = nil
104104
@@verify_ca_certs = true

0 commit comments

Comments
 (0)