puntopagos 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -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(nil, @@path, :get, signature, timestamp)
27
+ response = executioner.call_api(token, @@path, :get, signature, timestamp)
28
28
 
29
29
  valid?(response)
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module PuntoPagos
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puntopagos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: