lib/mernis/request.rb in mernis-1.0.2 vs lib/mernis/request.rb in mernis-1.0.3
- old
+ new
@@ -27,11 +27,11 @@
)
# Create message pattern
message = {
'TCKimlikNo' => @id_number.to_s,
- 'Ad' => @first_name.tr('ı', 'I').tr('i', 'İ').upcase,
- 'Soyad' => @last_name.tr('ı', 'I').tr('i', 'İ').upcase,
+ 'Ad' => UnicodeUtils.upcase(@first_name, :tr),
+ 'Soyad' => UnicodeUtils.upcase(@last_name, :tr),
'DogumYili' => @birth_year.to_s
}
# Make the SOAP request and handle errors.
begin