scenarios/credit_show/ruby.mako in balanced-1.0.2 vs scenarios/credit_show/ruby.mako in balanced-1.1.0

- old
+ new

@@ -1,41 +1,41 @@ % if mode == 'definition': Balanced::Credit.fetch % elif mode == 'request': require 'balanced' -Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV') +Balanced.configure('ak-test-2q80HU8DISm2atgm0iRKRVIePzDb34qYp') -credit = Balanced::Credit.fetch('/credits/CR4yt4sdkTWI1t3HVS16mNAV') +credit = Balanced::Credit.fetch('/credits/CR4OhD4V9LuxGe5kXaNpUULD') % elif mode == 'response': -#<Balanced::Credit:0x007fa93b4d03a0 +#<Balanced::Credit:0x007fa7d415c650 @attributes= {"amount"=>5000, "appears_on_statement_as"=>"example.com", - "created_at"=>"2014-04-25T20:10:02.398021Z", + "created_at"=>"2014-05-15T00:41:13.829371Z", "currency"=>"USD", "description"=>nil, "failure_reason"=>nil, "failure_reason_code"=>nil, - "href"=>"/credits/CR4yt4sdkTWI1t3HVS16mNAV", - "id"=>"CR4yt4sdkTWI1t3HVS16mNAV", + "href"=>"/credits/CR4OhD4V9LuxGe5kXaNpUULD", + "id"=>"CR4OhD4V9LuxGe5kXaNpUULD", "links"=> - {"customer"=>"CU3VYCUIfwngJsidJWdGw2W5", - "destination"=>"BA3Y63fK5STwlhKNMkE3Utmd", + {"customer"=>"CU2L981m9AtPY8pjpGpjnjnf", + "destination"=>"BA2RqFlRIm0xqCNnHJNLYWMd", "order"=>nil}, "meta"=>{}, "status"=>"succeeded", - "transaction_number"=>"CR883-913-0274", - "updated_at"=>"2014-04-25T20:10:03.049785Z"}, + "transaction_number"=>"CR666-433-9281", + "updated_at"=>"2014-05-15T00:41:14.822162Z"}, @hyperlinks= {"customer"=> - #<Proc:0x007fa93b4c8df8/lib/balanced/resources/resource.rb:60 (lambda)>, + #<Proc:0x007fa7d4156688/lib/balanced/resources/resource.rb:60 (lambda)>, "destination"=> - #<Proc:0x007fa93b4c1670/lib/balanced/resources/resource.rb:60 (lambda)>, + #<Proc:0x007fa7d41541a8/lib/balanced/resources/resource.rb:60 (lambda)>, "events"=> - #<Proc:0x007fa93b4b1f90/lib/balanced/utils.rb:6 (lambda)>, + #<Proc:0x007fa7d414e230/lib/balanced/utils.rb:6 (lambda)>, "order"=> - #<Proc:0x007fa93b4ab5c8/lib/balanced/utils.rb:6 (lambda)>, + #<Proc:0x007fa7d414d830/lib/balanced/utils.rb:6 (lambda)>, "reversals"=> - #<Proc:0x007fa93b49a778/lib/balanced/utils.rb:6 (lambda)>}> + #<Proc:0x007fa7d4147778/lib/balanced/utils.rb:6 (lambda)>}> % endif