examples/examples.rb in balanced-0.7.2 vs examples/examples.rb in balanced-0.7.4
- old
+ new
@@ -135,9 +135,11 @@
:routing_number => "021000021",
:name => "Jake Skellington",
:type => "checking"
).save
+raise "Should not have an account" if bank_account.has_account?
+
puts "now let's credit it, the super-simple way"
credit = bank_account.credit(
:amount => 500
)