Sha256: a677a9a3641e9fc5b79a1b7dadf15b766052a36c5e7e1b19a6217ec22bdae5e4
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
% if mode == 'definition': Balanced::Reversal.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2q80HU8DISm2atgm0iRKRVIePzDb34qYp') reversals = Balanced::Reversal.all % elif mode == 'response': [#<Balanced::Reversal:0x007fa7d414f158 @attributes= {"amount"=>3000, "created_at"=>"2014-05-15T00:43:48.266113Z", "currency"=>"USD", "description"=>"Reversal for Order #1111", "failure_reason"=>nil, "failure_reason_code"=>nil, "href"=>"/reversals/RV7BYCqyLOKwcWigapAoGWdr", "id"=>"RV7BYCqyLOKwcWigapAoGWdr", "links"=>{"credit"=>"CR7ushK6kWjPJYdh24QoM1A9", "order"=>nil}, "meta"=> {"fulfillment.item.condition"=>"OK", "merchant.feedback"=>"positive", "user.refund_reason"=>"not happy with product"}, "status"=>"succeeded", "transaction_number"=>"RV689-626-0403", "updated_at"=>"2014-05-15T00:43:53.755588Z"}, @hyperlinks= {"credit"=> #<Proc:0x007fa7d414d4e8/lib/balanced/resources/resource.rb:60 (lambda)>, "events"=> #<Proc:0x007fa7d4147458/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007fa7d4146a08/lib/balanced/utils.rb:6 (lambda)>}>] % endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.1.1 | scenarios/reversal_list/ruby.mako |
balanced-1.1.0 | scenarios/reversal_list/ruby.mako |