Sha256: de2cd1daf62036aa34d399d424721a9ab510d88701834f755a9980e6ff9415af
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
% if mode == 'definition': Balanced::Refund.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-YoVGJWMjOpkCPo6dWMfuiYbBYIB8q2JX') refunds = Balanced::Refund.all % elif mode == 'response': [#<Balanced::Refund:0x007fcde3aca720 @attributes= {"amount"=>3000, "created_at"=>"2014-12-17T21:25:31.528064Z", "currency"=>"USD", "description"=>"Refund for Order #1111", "href"=>"/refunds/RF7IJ4JDvDf4DLzJ9lgh6D8p", "id"=>"RF7IJ4JDvDf4DLzJ9lgh6D8p", "links"=> {"debit"=>"WD7HiEv2UJV5WlRSAcmGOFKJ", "dispute"=>nil, "order"=>nil}, "meta"=> {"fulfillment.item.condition"=>"OK", "merchant.feedback"=>"positive", "user.refund_reason"=>"not happy with product"}, "status"=>"succeeded", "transaction_number"=>"RFS3R-YHO-DMB0", "updated_at"=>"2014-12-17T21:25:31.950218Z"}, @hyperlinks= {"debit"=> #<Proc:0x007fcde3ac89c0/lib/balanced/resources/resource.rb:56 (lambda)>, "dispute"=> #<Proc:0x007fcde3ac8038/lib/balanced/utils.rb:6 (lambda)>, "events"=> #<Proc:0x007fcde3ac1ee0/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007fcde3ac1508/lib/balanced/utils.rb:6 (lambda)>}>] % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.2.1 | scenarios/refund_list/ruby.mako |