payture_api 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/payture/api.rb +1 -1
- data/lib/payture/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f6f3c1f9539f2d7ae66ad675c461f81832f2954
|
4
|
+
data.tar.gz: 27aed77dc58e066aaaf0990fd6c917c67c2d7a7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24950c333fa30739fd409dfb79a15d513a8bef7965da346de5bf4274bb7d6980ddb454decb013bf55f17980a23791e3ae8a8778738581b0ba974671bb9230126
|
7
|
+
data.tar.gz: 4cffadf22ac0d47af21b31bd34d29bc738962906436122664349de28ffdbf4aa6b03ff87ad0ec89056a8dccc563391a5ede8d49b985d0ad02a255387857f8a99
|
data/lib/payture/api.rb
CHANGED
@@ -18,7 +18,7 @@ class Payture::API
|
|
18
18
|
data = { VWID: merchant, DATA: params.url_encode }
|
19
19
|
puts "request.data: #{data}"
|
20
20
|
|
21
|
-
uri = URI::
|
21
|
+
uri = URI::HTTPS.build({ host: @host, path: path })
|
22
22
|
puts "URI: #{uri}"
|
23
23
|
http = Net::HTTP.new(uri.host, uri.port)
|
24
24
|
http.use_ssl = true
|
data/lib/payture/version.rb
CHANGED