scenarios/bank_account_credit/ruby.mako in balanced-1.0 vs scenarios/bank_account_credit/ruby.mako in balanced-1.0.1
- old
+ new
@@ -6,11 +6,11 @@
Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul')
bank_account = Balanced::BankAccount.fetch('/bank_accounts/BA6bLGpQZPOiTNRxF24rMd9m')
bank_account.credit(:amount => 5000)
% elif mode == 'response':
-#<Balanced::Credit:0x007ff2bd8c2a28
+#<Balanced::Credit:0x007fa4e412db40
@attributes=
{"amount"=>5000,
"appears_on_statement_as"=>"example.com",
"created_at"=>"2014-03-06T19:23:54.514782Z",
"currency"=>"USD",
@@ -27,16 +27,16 @@
"status"=>"succeeded",
"transaction_number"=>"CR855-415-1670",
"updated_at"=>"2014-03-06T19:23:55.019500Z"},
@hyperlinks=
{"customer"=>
- #<Proc:0x007ff2bc106ba0/lib/balanced/resources/resource.rb:60 (lambda)>,
+ #<Proc:0x007fa4e411fe50/lib/balanced/resources/resource.rb:60 (lambda)>,
"destination"=>
- #<Proc:0x007ff2be16a428/lib/balanced/resources/resource.rb:60 (lambda)>,
+ #<Proc:0x007fa4e411e230/lib/balanced/resources/resource.rb:60 (lambda)>,
"events"=>
- #<Proc:0x007ff2be149250/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007fa4e4117980/lib/balanced/utils.rb:6 (lambda)>,
"order"=>
- #<Proc:0x007ff2be141550/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007fa4e4116dc8/lib/balanced/utils.rb:6 (lambda)>,
"reversals"=>
- #<Proc:0x007ff2be110540/lib/balanced/utils.rb:6 (lambda)>}>
+ #<Proc:0x007fa4e4114b90/lib/balanced/utils.rb:6 (lambda)>}>
% endif