Sha256: 057e4e9fae0fe28e926601f0250350919586976c96c02a4718622fa4cf75e2ee
Contents?: true
Size: 964 Bytes
Versions: 1
Compression:
Stored size: 964 Bytes
Contents
% if mode == 'definition': Balanced::Debit.dispute % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-YoVGJWMjOpkCPo6dWMfuiYbBYIB8q2JX') debit = Balanced::Debit.fetch('/debits/WD7M75BRYlRsQTImIHFf8O9W') dispute = debit.dispute % elif mode == 'response': #<Balanced::Dispute:0x007fcde08a0718 @attributes= {"amount"=>5000, "created_at"=>"2014-12-17T21:25:45.321785Z", "currency"=>"USD", "href"=>"/disputes/DTbbQLxrNf790FmaKsgqRPa", "id"=>"DTbbQLxrNf790FmaKsgqRPa", "initiated_at"=>"2014-12-17T21:23:52.616968Z", "links"=>{"transaction"=>"WD7M75BRYlRsQTImIHFf8O9W"}, "meta"=>{}, "reason"=>"fraud", "respond_by"=>"2015-01-16T21:23:52.616970Z", "status"=>"pending", "updated_at"=>"2014-12-17T21:25:45.321787Z"}, @hyperlinks= {"events"=> #<Proc:0x007fcde088ab70/lib/balanced/utils.rb:6 (lambda)>, "transaction"=> #<Proc:0x007fcde0851690/lib/balanced/resources/resource.rb:56 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.2.1 | scenarios/debit_dispute_show/ruby.mako |