lib/stripe/resources/terminal/reader.rb in stripe-9.4.0.pre.beta.3 vs lib/stripe/resources/terminal/reader.rb in stripe-9.4.0

- old
+ new

@@ -21,37 +21,10 @@ params: params, opts: opts ) end - def collect_inputs(params = {}, opts = {}) - request_stripe_object( - method: :post, - path: format("/v1/terminal/readers/%<reader>s/collect_inputs", { reader: CGI.escape(self["id"]) }), - params: params, - opts: opts - ) - end - - def collect_payment_method(params = {}, opts = {}) - request_stripe_object( - method: :post, - path: format("/v1/terminal/readers/%<reader>s/collect_payment_method", { reader: CGI.escape(self["id"]) }), - params: params, - opts: opts - ) - end - - def confirm_payment_intent(params = {}, opts = {}) - request_stripe_object( - method: :post, - path: format("/v1/terminal/readers/%<reader>s/confirm_payment_intent", { reader: CGI.escape(self["id"]) }), - params: params, - opts: opts - ) - end - def process_payment_intent(params = {}, opts = {}) request_stripe_object( method: :post, path: format("/v1/terminal/readers/%<reader>s/process_payment_intent", { reader: CGI.escape(self["id"]) }), params: params, @@ -88,36 +61,9 @@ def self.cancel_action(reader, params = {}, opts = {}) request_stripe_object( method: :post, path: format("/v1/terminal/readers/%<reader>s/cancel_action", { reader: CGI.escape(reader) }), - params: params, - opts: opts - ) - end - - def self.collect_inputs(reader, params = {}, opts = {}) - request_stripe_object( - method: :post, - path: format("/v1/terminal/readers/%<reader>s/collect_inputs", { reader: CGI.escape(reader) }), - params: params, - opts: opts - ) - end - - def self.collect_payment_method(reader, params = {}, opts = {}) - request_stripe_object( - method: :post, - path: format("/v1/terminal/readers/%<reader>s/collect_payment_method", { reader: CGI.escape(reader) }), - params: params, - opts: opts - ) - end - - def self.confirm_payment_intent(reader, params = {}, opts = {}) - request_stripe_object( - method: :post, - path: format("/v1/terminal/readers/%<reader>s/confirm_payment_intent", { reader: CGI.escape(reader) }), params: params, opts: opts ) end