README.md in bin_checker-0.1.0 vs README.md in bin_checker-0.2.0
- old
+ new
@@ -1,9 +1,17 @@
# BinChecker
-Bin checker identifies Turkish banks with bin numbers, It bases on [berkayunal](https://github.com/berkayunal)'s bin [list](https://gist.github.com/berkayunal/1595676).
+Bin checker identifies Turkish banks with bin numbers, It bases on [berkayunal](https://github.com/berkayunal)'s
+bin [list](https://gist.github.com/berkayunal/1595676).
+## Requirements
+
+Before generating your application, you will need:
+
+* Ruby ~> 2.0
+* Rails ~> 3.0 or Rails ~> 4.0
+
## Installation
Add this line to your application's Gemfile:
gem 'bin_checker'
@@ -23,29 +31,30 @@
$ rake bin_numbers:insert
for seeding datas.
## Usage
- When you want to get bank infos just run like
-
- card = BinNumber.get_bank('454894')
-
- card.bank_name
- => "T.C. ZİRAAT BANKASI A.Ş."
-
- card.card_type
- => "VISA"
-
- card.sub_type
- => "CLASSIC"
-
- card.virtual
- => false
-
- card.prepaid
- => false
+When you want to get bank infos just run like
+
+ card = BinNumber.find_by bin_number: '454894'
+
+ card.bank_name
+ => "T.C. ZİRAAT BANKASI A.Ş."
+
+ card.card_type
+ => "VISA"
+
+ card.sub_type
+ => "CLASSIC"
+
+ card.virtual
+ => false
+
+ card.prepaid
+ => false
+
## Bugs and Feedback
If you discover any bugs or want to drop a line, feel free to create an issue on GitHub.
http://github.com/lab2023/bin_checker
@@ -70,6 +79,6 @@
- Thank you to all the [contributors!](https://github.com/kebab-project/kangal/graphs/contributors)
- The names and logos for lab2023 are trademarks of lab2023, inc.
## License
-Copyright 2014 lab2023 - information technologies
\ No newline at end of file
+Copyright 2014 lab2023 - information technologies