Skip to content

naimrajib07/bank_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

user1 = User.create!(email: ‘[email protected]’, password: ‘12345678’, password_confirmation: ‘12345678’)

user1 = User.find_by_email(‘[email protected]’) user1.build_bank_account user1.save!

userAcc1 = BankAccount.find(1) userAcc1.deposit(20)

userAcc1 = BankAccount.find(1) userAcc1.withdraw(10)

userAcc1 = BankAccount.find(1) userAcc2 = BankAccount.find(2) userAcc1.balance_transfer(userAcc2.id, 5)

userAcc1 = BankAccount.find(1)

userAcc1.last_transaction_details


This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Please feel free to use a different markup language if you do not plan to run rake doc:app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published