Sha256: 73f403e71d2d81753d5f52a62e7afccbe4a5674b4d6bd4385071dd7cccfea6d6
Contents?: true
Size: 518 Bytes
Versions: 10
Compression:
Stored size: 518 Bytes
Contents
require 'open-uri' module Mollie module API module Resource class Payments class Refunds < Base @payment_id = nil def getResourceObject Mollie::API::Object::Payment::Refund end def getResourceName payment_id = URI::encode(@payment_id) "payments/#{payment_id}/refunds" end def with(payment) @payment_id = payment.id self end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems