Sha256: 579f921de0317066cd66f178ca4dbb8db97240a9e58d6e97ec808a197162dec0
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
% if mode == 'definition': Balanced::Debit.fetch % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') debit = Balanced::Debit.fetch('/debits/WD5PTwr2bwJLIyJio1pEpYBr') % elif mode == 'response': #<Balanced::Debit:0x007ff2bd9a5e18 @attributes= {"amount"=>5000, "appears_on_statement_as"=>"BAL*Statement text", "created_at"=>"2014-03-06T19:23:01.594300Z", "currency"=>"USD", "description"=>"Some descriptive text for the debit in the dashboard", "failure_reason"=>nil, "failure_reason_code"=>nil, "href"=>"/debits/WD5PTwr2bwJLIyJio1pEpYBr", "id"=>"WD5PTwr2bwJLIyJio1pEpYBr", "links"=> {"customer"=>nil, "dispute"=>nil, "order"=>nil, "source"=>"CC5Buki6e4Kg4bDVZ3OSfQ8O"}, "meta"=>{}, "status"=>"succeeded", "transaction_number"=>"W986-715-3969", "updated_at"=>"2014-03-06T19:23:02.987552Z"}, @hyperlinks= {"customer"=> #<Proc:0x007ff2bd9a4bd0/lib/balanced/utils.rb:6 (lambda)>, "dispute"=> #<Proc:0x007ff2bd9a4040/lib/balanced/utils.rb:6 (lambda)>, "events"=> #<Proc:0x007ff2bd99e758/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007ff2bd99d290/lib/balanced/utils.rb:6 (lambda)>, "refunds"=> #<Proc:0x007ff2bd98b7c0/lib/balanced/utils.rb:6 (lambda)>, "source"=> #<Proc:0x007ff2bd988958/lib/balanced/resources/resource.rb:60 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0 | scenarios/debit_show/ruby.mako |