Sha256: 0c1aa979dc16e33484a93d17e71b84294ed2964885a31278633331f3258ca809

Contents?: true

Size: 255 Bytes

Versions: 3

Compression:

Stored size: 255 Bytes

Contents

module Espago
  class ApiConnection
    class DeleteCharges
      def initialize(connection)
        @connection = connection
      end

      def request(params = {})
        @connection.delete "charges/#{params[:charge_id]}"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
espago-0.0.9 lib/espago/api_connection/delete_charges.rb
espago-0.0.7 lib/espago/api_connection/delete_charges.rb
espago-0.0.6 lib/espago/api_connection/delete_charges.rb