lib/mernis.rb in mernis-0.2.5 vs lib/mernis.rb in mernis-1.0.1
- old
+ new
@@ -1,7 +1,9 @@
# encoding: utf-8
+require 'mernis/version'
+
class Mernis
# Most basic usage:
# Mernis.sorgula("12345", "John", "Doe", "1990")
# Advanced usage:
# Mernis.sorgula(id_number="12345", first_name="John", last_name="Doe", birth_year="1990")
@@ -16,7 +18,5 @@
wsdl = "https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL")
response = Request.new(id_number, first_name, last_name, birth_year, version, open_timeout, read_timeout, log, wsdl)
response.sorgula
end
end
-
-require 'mernis/request'
\ No newline at end of file