bigbrother 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -2
- data/lib/bigbrother.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -3,15 +3,25 @@ Big Brother
|
|
3
3
|
|
4
4
|
Big Brother allows you to validate routing numbers.
|
5
5
|
|
6
|
+
According to Wikipedia, "[a] routing transit number (RTN) is a nine digit bank code, used in the United States, which appears on the bottom of negotiable instruments such as checks identifying the financial institution on which it was drawn. This code was designed to facilitate the sorting, bundling, and shipment of paper checks back to the drawer's (check writer's) account."
|
7
|
+
|
6
8
|
## INSTALL
|
7
9
|
|
8
10
|
```
|
9
|
-
$ gem install
|
11
|
+
$ gem install bigbrother
|
10
12
|
```
|
11
13
|
|
12
14
|
## USAGE
|
13
15
|
|
14
16
|
```ruby
|
15
17
|
"111222333".routing_number?
|
16
|
-
|
18
|
+
=> false
|
17
19
|
|
20
|
+
"111900659".routing_info
|
21
|
+
=> {:routing_number=>"111900659",
|
22
|
+
:name=>"WELLS FARGO BANK",
|
23
|
+
:address=>"255 2ND AVE SOUTH",
|
24
|
+
:city=>"MINNEAPOLIS",
|
25
|
+
:state=>"MN",
|
26
|
+
:zip=>"55479-0000"}
|
27
|
+
```
|
data/lib/bigbrother.rb
CHANGED