class Invoiced::Refund
Constants
- OBJECT_NAME
Public Instance Methods
create(chargeId, body={}, opts={})
click to toggle source
# File lib/invoiced/refund.rb, line 5 def create(chargeId, body={}, opts={}) response = @client.request(:post, @endpoint_base + "/charges/#{chargeId}/refunds", body, opts) Util.convert_to_object(self, response[:body]) end