tckimlikdogrulama 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Tckimlikdogrulama
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -8,11 +8,6 @@ module Tckimlikdogrulama
8
8
 
9
9
  cattr_accessor :sonuc
10
10
 
11
- self.first_name = options[:first_name]
12
- self.last_name = options[:last_name]
13
- self.identification_number = options[:identification_number]
14
- self.birth_year = options[:birth_year]
15
-
16
11
  client = Savon::Client.new("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL")
17
12
  res = client.request(:tc_kimlik_no_dogrula) {soap.body = { "TCKimlikNo" => options[:identification_number], "Ad" => UnicodeUtils.upcase(options[:first_name], :tr) , "Soyad" => UnicodeUtils.upcase(options[:last_name], :tr), "DogumYili" => options[:birth_year]}}
18
13
  unless res.body[:tc_kimlik_no_dogrula_response][:tc_kimlik_no_dogrula_result]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tckimlikdogrulama
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: