Sha256: 4ee5e845e08f47e7f31a08f082531d8791fd7985d8c650b5f938d48ae0de90d4
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
module Cobrato module Resources class Payment < Base crud :all def cancel(id) http.post("#{resource_base_path}/#{id}/cancel") do |response| respond_with_entity response end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cobrato-client-0.23.0.beta10 | lib/cobrato/resources/payment.rb |
cobrato-client-0.23.0.beta9 | lib/cobrato/resources/payment.rb |
cobrato-client-0.23.0.beta8 | lib/cobrato/resources/payment.rb |