4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/iyzipay/model/buyer.rb', line 4
def self.to_pki_string(request)
unless request.nil?
PkiBuilder.new.
append(:id, request[:id]).
append(:name, request[:name]).
append(:surname, request[:surname]).
append(:identityNumber, request[:identityNumber]).
append(:email, request[:email]).
append(:gsmNumber, request[:gsmNumber]).
append(:registrationDate, request[:registrationDate]).
append(:lastLoginDate, request[:lastLoginDate]).
append(:registrationAddress, request[:registrationAddress]).
append(:city, request[:city]).
append(:country, request[:country]).
append(:zipCode, request[:zipCode]).
append(:ip, request[:ip]).
get_request_string
end
end
|