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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.12.0"
".": "1.0.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 115
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-fee4c7438579fd72ae7c08ad11cc502da279ad3cccfe2235b18afcacc91ad0d9.yml
openapi_spec_hash: dc9d553a388715ba22d873aee54a3ed1
config_hash: 1e2186b09e57d7d27b6ab5c8e6410b31
configured_endpoints: 116
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c2a4808c828c8288c5c8dfe2fdfa51d4d7c1bcc33cacc6b859d0cf4b35ce95cc.yml
openapi_spec_hash: a2b5a1bfabbd03dd1b411791576eb502
config_hash: 3c3524be9607afb24d2139ce26ce5389
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 1.0.0 (2025-06-09)

Full Changelog: [v0.12.0...v1.0.0](https://github.com/orbcorp/orb-ruby/compare/v0.12.0...v1.0.0)

### ⚠ BREAKING CHANGES

* **client:** breaking change to re-use types

### Features

* **api:** api update ([a04f1e8](https://github.com/orbcorp/orb-ruby/commit/a04f1e89e9188912bf860fc0214f657c2d135b6e))
* **api:** api update ([bd80319](https://github.com/orbcorp/orb-ruby/commit/bd8031945315e344ca53add3fb00d33ff6453bd0))
* **api:** manual updates ([c72f634](https://github.com/orbcorp/orb-ruby/commit/c72f6346f566626bc15ee71e218f7aebdbf9f3ff))
* **client:** breaking change to re-use types ([4988d1c](https://github.com/orbcorp/orb-ruby/commit/4988d1cf7cf2ebdbb78227c8fed3cc63647942a2))


### Chores

* **internal:** version bump ([46b439b](https://github.com/orbcorp/orb-ruby/commit/46b439b8d9cb1e7ea8fe97e2d81ec66d60f3aada))

## 0.12.0 (2025-06-04)

Full Changelog: [v0.11.0...v0.12.0](https://github.com/orbcorp/orb-ruby/compare/v0.11.0...v0.12.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
orb-billing (0.11.0)
orb-billing (0.12.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "orb-billing", "~> 0.12.0"
gem "orb-billing", "~> 1.0.0"
```

<!-- x-release-please-end -->
Expand Down
192 changes: 181 additions & 11 deletions lib/orb.rb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions lib/orb/internal/type/base_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ def deep_to_h = self.class.recursively_to_h(@data, convert: false)
# @return [Hash{Symbol=>Object}]
#
# @example
# # `amount_discount` is a `Orb::AmountDiscount`
# amount_discount => {
# amount_discount: amount_discount,
# discount_type: discount_type,
# applies_to_price_ids: applies_to_price_ids
# # `address` is a `Orb::Address`
# address => {
# city: city,
# country: country,
# line1: line1
# }
def deconstruct_keys(keys)
(keys || self.class.known_fields.keys)
Expand Down
Loading