lib/mernis/request.rb in mernis-0.2.5 vs lib/mernis/request.rb in mernis-1.0.1
- old
+ new
@@ -27,11 +27,11 @@
)
# Create message pattern
message = {
"TCKimlikNo" => @id_number.to_s,
- "Ad" => @first_name,
- "Soyad" => @last_name,
+ "Ad" => @first_name.tr('ı', 'I').tr('i', 'İ').upcase,
+ "Soyad" => @last_name.tr('ı', 'I').tr('i', 'İ').upcase,
"DogumYili" => @birth_year.to_s
}
# Make the SOAP request and handle errors.
begin
\ No newline at end of file