Sha256: 4d7d7202ef61c6f468ad4255fb8db0633faaea7e9303c9afc699cabd91be9b27
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
% if mode == 'definition': Balanced::Credit.fetch % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') credit = Balanced::Credit.fetch('/credits/CR5XXPwA1ckaTDSIg3593sEx') % elif mode == 'response': #<Balanced::Credit:0x007ff2bd99fb08 @attributes= {"amount"=>5000, "appears_on_statement_as"=>"example.com", "created_at"=>"2014-03-06T19:23:08.771807Z", "currency"=>"USD", "description"=>nil, "failure_reason"=>nil, "failure_reason_code"=>nil, "href"=>"/credits/CR5XXPwA1ckaTDSIg3593sEx", "id"=>"CR5XXPwA1ckaTDSIg3593sEx", "links"=> {"customer"=>"CU5LVuaZG7gURfbA7TuMNoZa", "destination"=>"BA5OqdmH8URGBYpilMITWsNW", "order"=>nil}, "meta"=>{}, "status"=>"succeeded", "transaction_number"=>"CR570-678-5174", "updated_at"=>"2014-03-06T19:23:09.525306Z"}, @hyperlinks= {"customer"=> #<Proc:0x007ff2bd99d150/lib/balanced/resources/resource.rb:60 (lambda)>, "destination"=> #<Proc:0x007ff2bd98b630/lib/balanced/resources/resource.rb:60 (lambda)>, "events"=> #<Proc:0x007ff2bd988ae8/lib/balanced/utils.rb:6 (lambda)>, "order"=> #<Proc:0x007ff2bd995158/lib/balanced/utils.rb:6 (lambda)>, "reversals"=> #<Proc:0x007ff2bd994780/lib/balanced/utils.rb:6 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0 | scenarios/credit_show/ruby.mako |