Skip to content

Conversation

@jweeber
Copy link

@jweeber jweeber commented Mar 5, 2016

Final bank account project!

All amounts are entered in pennies. I am seriously super proud of my code because I feel like it's pretty self-documenting since I used constants.

Requires these gems:

  • money
  • colorize

…info and owner info. owner hash can be passed in account class via a method
…r arraysand another that allows for searching by id number and displays all info for that acct.
…nce of the account class. also figured out how to convert the date created field into a DateTime objectfrom a string.
…to return all instances is working but might not be what we're supposed to return.
…the self.all class, since this is normally what would be called and there is no need to call anything to import
…h to normal vars because otherwise it's really confusing.
…lass account. new initialize method for savings account created.
…ow to inherit it from base class but replace withdrawal fee constant with one in subclass
…aw methods throughout. which actually makes it more readable now so that's cool.
…d of return so that when i super the method in moneymarketaccount class it works. transaction counts not working in deposit method though.
…arketaccount class. also added a method to reset the transaction count.
…rom the csv. moved that to each of the other accounts instead because otherwise it will print out a bajillion times
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant