mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
Revert "Charges should not be updatable"
This reverts commit 1415b08fb8a912f21b46b39015272ae8a42f105d.
This commit is contained in:
parent
97c5d77154
commit
ba4ce6cd42
@ -401,6 +401,7 @@ module Stripe
|
|||||||
class Charge < APIResource
|
class Charge < APIResource
|
||||||
include Stripe::APIOperations::List
|
include Stripe::APIOperations::List
|
||||||
include Stripe::APIOperations::Create
|
include Stripe::APIOperations::Create
|
||||||
|
include Stripe::APIOperations::Update
|
||||||
|
|
||||||
def refund(params={})
|
def refund(params={})
|
||||||
response, api_key = Stripe.request(:post, refund_url, @api_key, params)
|
response, api_key = Stripe.request(:post, refund_url, @api_key, params)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user