Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### v2.64.0 (2025-11-10)
* * *

### Error Handling
- Added new `ForbiddenError` class that inherits from `Error`
- Enhanced `handle_for_error` method to detect and handle 403 status codes
- Provides clear error message: "Access forbidden. You do not have permission to access this resource."

### Code Quality Improvements
- Renamed `lib/chargebee/nativeRequest.rb` → `lib/chargebee/native_request.rb` to follow Ruby naming conventions
- Refactored `handle_for_error` to return error objects instead of raising them inline (cleaner separation of concerns)
- Added YARD documentation for `handle_for_error` method

### Testing
- Added comprehensive test coverage for 403 error scenarios

### v2.63.0 (2025-10-28)
* * *

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
chargebee (2.63.0)
chargebee (2.64.0)
cgi (>= 0.1.0, < 1.0.0)

GEM
Expand Down
4 changes: 2 additions & 2 deletions chargebee.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Gem::Specification.new do |s|
s.rubygems_version = '1.3.5'
s.required_ruby_version = '>= 1.9.3'
s.name = 'chargebee'
s.version = '2.63.0'
s.date = '2025-10-28'
s.version = '2.64.0'
s.date = '2025-11-10'
s.summary = "Ruby client for Chargebee API."
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
s.metadata = {
Expand Down
2 changes: 1 addition & 1 deletion lib/chargebee.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

module ChargeBee

VERSION = '2.63.0'
VERSION = '2.64.0'

@@default_env = nil
@@verify_ca_certs = true
Expand Down