lib/stripe/resources/credit_note.rb in stripe-5.23.0 vs lib/stripe/resources/credit_note.rb in stripe-5.23.1

- old
+ new

@@ -19,15 +19,15 @@ opts: opts ) end def self.preview(params, opts = {}) - resp, opts = request(:get, resource_url + "/preview", params, opts) + resp, opts = execute_resource_request(:get, resource_url + "/preview", params, opts) Util.convert_to_stripe_object(resp.data, opts) end def self.list_preview_line_items(params, opts = {}) - resp, opts = request(:get, resource_url + "/preview/lines", params, opts) + resp, opts = execute_resource_request(:get, resource_url + "/preview/lines", params, opts) Util.convert_to_stripe_object(resp.data, opts) end end end