Sha256: 381d0c6052afc1a036c7f603cd366efe2994c6edbd73aea770fd1ab7390d20aa
Contents?: true
Size: 333 Bytes
Versions: 8
Compression:
Stored size: 333 Bytes
Contents
# encoding: utf-8 require 'openssl' require 'base64' require File.join(File.dirname(__FILE__), '..', 'pagarme') module PagarMe class Transaction < TransactionCommon def charge create end def refund request = PagarMe::Request.new(self.url + '/refund', 'POST') response = request.run update(response) end end end
Version data entries
8 entries across 8 versions & 1 rubygems