Sha256: 0b835d220096a23c2467167d4a1e877fe9f428a9a437befa3657402fa06f16af
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
% if mode == 'definition': Balanced::Refund.fetch % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') refund = Balanced::Refund.fetch('/refunds/RF6HsnqferSuES9VZEWrthG2') % elif mode == 'response': #<Balanced::Refund:0x007fa4e4a50c40 @attributes= {"amount"=>3000, "created_at"=>"2014-03-06T19:23:46.176138Z", "currency"=>"USD", "description"=>"Refund for Order #1111", "href"=>"/refunds/RF6HsnqferSuES9VZEWrthG2", "id"=>"RF6HsnqferSuES9VZEWrthG2", "links"=> {"debit"=>"WD6BKYhbRzlRhfKSE1DcpqS5", "dispute"=>nil, "order"=>nil}, "meta"=> {"fulfillment.item.condition"=>"OK", "merchant.feedback"=>"positive", "user.refund_reason"=>"not happy with product"}, "status"=>"succeeded", "transaction_number"=>"RF348-549-7723", "updated_at"=>"2014-03-06T19:23:48.234584Z"}, @hyperlinks= {"debit"=> #<Proc:0x007fa4e4a4aa98/lib/balanced/resources/resource.rb:60 (lambda)>, "dispute"=> #<Proc:0x007fa4e4a49df0/lib/balanced/utils.rb:6 (lambda)>, "events"=> #<Proc:0x007fa4e4a43f18/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007fa4e4a43338/lib/balanced/utils.rb:6 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0.1 | scenarios/refund_show/ruby.mako |