Sha256: 9ffe8be0d322fbe6ca24a37047c403877407cb311bdca294cbca73806bbaf6f7
Contents?: true
Size: 272 Bytes
Versions: 3
Compression:
Stored size: 272 Bytes
Contents
module Espago class ApiConnection class PostChargesRefund def initialize(connection) @connection = connection end def request(params = {}) @connection.post "charges/#{params[:charge_id]}/refund", params end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
espago-0.0.9 | lib/espago/api_connection/post_charges_refund.rb |
espago-0.0.7 | lib/espago/api_connection/post_charges_refund.rb |
espago-0.0.6 | lib/espago/api_connection/post_charges_refund.rb |