Identity Number Verifier for Turkish Citizens
Installation
Add it to your Gemfile:
gem 'tc_kimlik_no_dogrulama'
and run on terminal:
$ bundle
or install the gem on terminal.
$ gem install tc_kimlik_no_dogrulama
Usage
require 'tc_kimlik_no_dogrulama'
TcKimlikNoDogrulama.verify(18071470110) # true or false
Thanks to Murat Çorlu for verification algorithms.