https://github.com/markfchavez/bank
elixir app
https://github.com/markfchavez/bank
Last synced: over 1 year ago
JSON representation
elixir app
- Host: GitHub
- URL: https://github.com/markfchavez/bank
- Owner: MarkFChavez
- Created: 2017-08-07T13:28:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T13:30:23.000Z (almost 9 years ago)
- Last Synced: 2025-02-06T15:53:15.042Z (over 1 year ago)
- Language: Elixir
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bank
## Usage
```elixir-lang
bank = Bank.start() # account balance defaults to 10,000
bank = Bank.do_withdraw(bank, 100)
bank = Bank.do_deposit(bank, 200)
```
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `bank` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:bank, "~> 0.1.0"}
]
end
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/bank](https://hexdocs.pm/bank).