Sha256: f209a5048289f012b352e941c79d1edcf3558838271a11540ee230b5ba30563a
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
% if mode == 'definition': Balanced::Debit.fetch % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV') debit = Balanced::Debit.fetch('/debits/WD4vEUJj36IpPHTnLKMYzHgh') % elif mode == 'response': #<Balanced::Debit:0x007fa93eb35288 @attributes= {"amount"=>5000, "appears_on_statement_as"=>"BAL*Statement text", "created_at"=>"2014-04-25T20:09:59.895549Z", "currency"=>"USD", "description"=>"Some descriptive text for the debit in the dashboard", "failure_reason"=>nil, "failure_reason_code"=>nil, "href"=>"/debits/WD4vEUJj36IpPHTnLKMYzHgh", "id"=>"WD4vEUJj36IpPHTnLKMYzHgh", "links"=> {"customer"=>"CU3VYCUIfwngJsidJWdGw2W5", "dispute"=>nil, "order"=>nil, "source"=>"CC4tvKLTKXcBJAgkGvPEW58N"}, "meta"=>{}, "status"=>"succeeded", "transaction_number"=>"W296-328-8320", "updated_at"=>"2014-04-25T20:10:00.865462Z"}, @hyperlinks= {"customer"=> #<Proc:0x007fa93eb276b0/lib/balanced/resources/resource.rb:60 (lambda)>, "dispute"=> #<Proc:0x007fa93eb26d28/lib/balanced/utils.rb:6 (lambda)>, "events"=> #<Proc:0x007fa93eb24e88/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007fa93eb244b0/lib/balanced/utils.rb:6 (lambda)>, "refunds"=> #<Proc:0x007fa93eb1c0a8/lib/balanced/utils.rb:6 (lambda)>, "source"=> #<Proc:0x007fa93eb07ab8/lib/balanced/resources/resource.rb:60 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0.2 | scenarios/debit_show/ruby.mako |