Sha256: 0f2e7278f6b0b83c22caef8711f8f816d1d6fea31d401ee838c8583596d54571
Contents?: true
Size: 952 Bytes
Versions: 3
Compression:
Stored size: 952 Bytes
Contents
# encoding: utf-8 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") # Mernis.sorgula(id_number="12345", first_name="John", last_name="Doe", birth_year="1990", version = 2, log = false) # Full usage: # Mernis.sorgula(id_number="12345", first_name="John", last_name="Doe", birth_year="1990", # version = 2, open_timeout = 60, read_timeout = 60, log = false, # wsdl: 'https://somecustomwsdl.com' ) def self.sorgula(id_number, first_name, last_name, birth_year, version = 2, open_timeout = 60, read_timeout = 60, log = true, 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'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mernis-0.2.5 | lib/mernis.rb |
mernis-0.1.5 | lib/mernis.rb |
mernis-0.1.4 | lib/mernis.rb |