puntopagos 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/puntopagos/executioner.rb +1 -1
- data/lib/puntopagos/verification.rb +1 -1
- data/lib/puntopagos/version.rb +1 -1
- metadata +1 -1
@@ -16,7 +16,7 @@ module PuntoPagos
|
|
16
16
|
resp = RestClient.method(method).call(@@puntopagos_base_url+path, data.to_json, headers)
|
17
17
|
elsif method == :get
|
18
18
|
puts "METHOD: #{method} URL:#{@@puntopagos_base_url} PATH:#{path}"
|
19
|
-
resp = RestClient.method(method).call(@@puntopagos_base_url+path, headers)
|
19
|
+
resp = RestClient.method(method).call(@@puntopagos_base_url+path+data, headers)
|
20
20
|
end
|
21
21
|
JSON.parse(resp)
|
22
22
|
end
|
@@ -24,7 +24,7 @@ module PuntoPagos
|
|
24
24
|
puts "SIGNATURE: #{signature} TIMESTAMP: #{timestamp} TOKEN: #{token} TRX: #{trx_id}"
|
25
25
|
puts "MESSAGE: #{message}"
|
26
26
|
|
27
|
-
response = executioner.call_api(
|
27
|
+
response = executioner.call_api(token, @@path, :get, signature, timestamp)
|
28
28
|
|
29
29
|
valid?(response)
|
30
30
|
end
|
data/lib/puntopagos/version.rb
CHANGED