Sha256: 1e19cd91ffb9eb419040b193fe1dab7ccdf61fa51739a3feba27d53b5df01164
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
% if mode == 'definition': Balanced::Reversal.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV') reversals = Balanced::Reversal.all % elif mode == 'response': [#<Balanced::Reversal:0x007fa93b6e73f0 @attributes= {"amount"=>3000, "created_at"=>"2014-04-25T20:18:55.008280Z", "currency"=>"USD", "description"=>"Reversal for Order #1111", "failure_reason"=>nil, "failure_reason_code"=>nil, "href"=>"/reversals/RV6qrEOTouLeIJuPu4s73Ra1", "id"=>"RV6qrEOTouLeIJuPu4s73Ra1", "links"=>{"credit"=>"CR6nBcaGvGc4dtflEB1bjKBP", "order"=>nil}, "meta"=> {"fulfillment.item.condition"=>"OK", "merchant.feedback"=>"positive", "user.refund_reason"=>"not happy with product"}, "status"=>"succeeded", "transaction_number"=>"RV296-883-6069", "updated_at"=>"2014-04-25T20:18:57.393905Z"}, @hyperlinks= {"credit"=> #<Proc:0x007fa93b6e5848/lib/balanced/resources/resource.rb:60 (lambda)>, "events"=> #<Proc:0x007fa93b6df330/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007fa93b6de908/lib/balanced/utils.rb:6 (lambda)>}>] % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0.2 | scenarios/reversal_list/ruby.mako |