Sha256: 33119f9ef5900ee000ef1a67e019f6d16cbd99fd762c5a53cf70e750e811dc69
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
% if mode == 'definition': Balanced::Debit.refund() % else: require 'balanced' Balanced.configure('8c3aeeb80e9e11e38901026ba7f8ec28') debit = Balanced::Debit.find('/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy') debit.refund( :description => 'Refund for Order #1111', :meta => { 'fulfillment.item.condition' => 'OK', 'merchant.feedback' => 'positive', 'user.refund_reason' => 'not happy with product' } ) % endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
balanced-0.8.2 | scenarios/refund_create/ruby.mako |
balanced-0.8.1 | scenarios/refund_create/ruby.mako |