Compare commits

..

No commits in common. "2db4fd9d0673dbbd2f587d045aeac5bdb93497fc" and "f649ed38241e5683455751702a348aafcdd5b743" have entirely different histories.

6 changed files with 4 additions and 29 deletions

View File

@ -1,10 +1,5 @@
# Changelog
## 7.1.0-beta.2 - 2022-08-11
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
- Updated stable APIs to the latest version
- Add `refund_payment` method to Terminal resource
## 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

View File

@ -1 +1 @@
v178
v175

View File

@ -1 +1 @@
7.1.0-beta.2
7.1.0-beta.1

View File

@ -3,8 +3,6 @@
module Stripe
module ApiVersion
# 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
CURRENT = "2022-08-01; server_side_confirmation_beta=v1; orders_beta=v4"
end
end

View File

@ -38,15 +38,6 @@ 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,
@ -83,15 +74,6 @@ 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,

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "7.1.0-beta.2"
VERSION = "7.1.0-beta.1"
end