mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-03 00:01:21 -04:00
Compare commits
6 Commits
bdcfe6cc33
...
59f2d4d0fe
Author | SHA1 | Date | |
---|---|---|---|
|
59f2d4d0fe | ||
|
0d1b570bfa | ||
|
d7d3c1b425 | ||
|
7df619de69 | ||
|
f649ed3824 | ||
|
32a95902cc |
19
CHANGELOG.md
19
CHANGELOG.md
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 7.1.0-beta.1 - 2022-08-03
|
||||
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
||||
- Updated stable APIs to the latest version
|
||||
- Added the `Order` resource support
|
||||
|
||||
## 7.0.0 - 2022-08-02
|
||||
|
||||
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
|
||||
@ -13,21 +18,21 @@ Breaking changes that arose during code generation of the library that we postpo
|
||||
|
||||
## 6.6.0-beta.1 - 2022-07-22
|
||||
* [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
||||
- Updated stable APIs to the latest version
|
||||
- Add `QuotePhase` resource
|
||||
- Updated stable APIs to the latest version
|
||||
- Add `QuotePhase` resource
|
||||
* [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
||||
- Updated stable APIs to the latest version
|
||||
- Updated stable APIs to the latest version
|
||||
- Add `SubscriptionSchedule.amend` method.
|
||||
* [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
||||
- Include `server_side_confirmation_beta=v1` beta
|
||||
- Add `secretKeyConfirmation` to `PaymentIntent`
|
||||
- Include `server_side_confirmation_beta=v1` beta
|
||||
- Add `secretKeyConfirmation` to `PaymentIntent`
|
||||
* [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
||||
- Updated stable APIs to the latest version
|
||||
* [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
||||
|
||||
## 6.5.0 - 2022-06-29
|
||||
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
||||
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
||||
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
||||
* [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
||||
|
||||
## 6.4.0 - 2022-06-17
|
||||
@ -37,7 +42,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
||||
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
||||
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
||||
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
||||
|
||||
|
||||
Switch from using meta-programing to generating explicit methods for custom methods.
|
||||
* [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
||||
|
||||
|
@ -1 +1 @@
|
||||
v175
|
||||
v178
|
@ -3,6 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module ApiVersion
|
||||
CURRENT = "2022-08-01; server_side_confirmation_beta=v1; orders_beta=v4"
|
||||
# rubocop:disable Layout/LineLength
|
||||
CURRENT = "2022-08-01; server_side_confirmation_beta=v1; orders_beta=v4; terminal_interac_refunds_beta=v1"
|
||||
# rubocop:enable Layout/LineLength
|
||||
end
|
||||
end
|
||||
|
@ -38,6 +38,15 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
def refund_payment(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
path: format("/v1/terminal/readers/%<reader>s/refund_payment", { reader: CGI.escape(self["id"]) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
|
||||
def set_reader_display(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
@ -74,6 +83,15 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
def self.refund_payment(reader, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
path: format("/v1/terminal/readers/%<reader>s/refund_payment", { reader: CGI.escape(reader) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
|
||||
def self.set_reader_display(reader, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "6.6.0-beta.1"
|
||||
VERSION = "7.1.0-beta.1"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user