Compare commits

..

3 Commits

Author SHA1 Message Date
Stripe OpenAPI
a08ecee70f Update generated code for v753 2024-01-10 21:56:47 +00:00
Richard Marmorstein
36dc37db5e Bump version to 10.5.0 2024-01-04 13:52:23 -06:00
stripe-openapi[bot]
8875698b96
Update generated code for v742 (#1306)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2024-01-04 11:40:30 -08:00
11 changed files with 24 additions and 10 deletions

View File

@ -1,4 +1,8 @@
# Changelog # Changelog
## 10.5.0 - 2024-01-04
* [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
* Add support for `retrieve` method on resource `Tax.Registration`
## 10.4.0 - 2023-12-22 ## 10.4.0 - 2023-12-22
* [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code * [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
* Add support for new resource `FinancialConnections.Transaction` * Add support for new resource `FinancialConnections.Transaction`

View File

@ -1 +1 @@
v742 v753

View File

@ -1 +1 @@
10.4.0 10.5.0

View File

@ -43,7 +43,7 @@ module Stripe
end end
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/charges/search", params, opts) request_stripe_object(method: :get, path: "/v1/charges/search", params: params, opts: opts)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -114,7 +114,7 @@ module Stripe
end end
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/customers/search", params, opts) request_stripe_object(method: :get, path: "/v1/customers/search", params: params, opts: opts)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -167,7 +167,7 @@ module Stripe
end end
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/invoices/search", params, opts) request_stripe_object(method: :get, path: "/v1/invoices/search", params: params, opts: opts)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -248,7 +248,12 @@ module Stripe
end end
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/payment_intents/search", params, opts) request_stripe_object(
method: :get,
path: "/v1/payment_intents/search",
params: params,
opts: opts
)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -17,7 +17,7 @@ module Stripe
OBJECT_NAME = "price" OBJECT_NAME = "price"
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/prices/search", params, opts) request_stripe_object(method: :get, path: "/v1/prices/search", params: params, opts: opts)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -20,7 +20,7 @@ module Stripe
OBJECT_NAME = "product" OBJECT_NAME = "product"
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/products/search", params, opts) request_stripe_object(method: :get, path: "/v1/products/search", params: params, opts: opts)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -84,7 +84,12 @@ module Stripe
save_nested_resource :source save_nested_resource :source
def self.search(params = {}, opts = {}) def self.search(params = {}, opts = {})
_search("/v1/subscriptions/search", params, opts) request_stripe_object(
method: :get,
path: "/v1/subscriptions/search",
params: params,
opts: opts
)
end end
def self.search_auto_paging_each(params = {}, opts = {}, &blk) def self.search_auto_paging_each(params = {}, opts = {}, &blk)

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
module Stripe module Stripe
VERSION = "10.4.0" VERSION = "10.5.0"
end end