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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa18a17ba6516b7becff2aefbd8b0fb688aee182
4
- data.tar.gz: d590657b52d84b0e9dbb6548290d43a4a93e3079
3
+ metadata.gz: 8f6f3c1f9539f2d7ae66ad675c461f81832f2954
4
+ data.tar.gz: 27aed77dc58e066aaaf0990fd6c917c67c2d7a7a
5
5
  SHA512:
6
- metadata.gz: ccea0a3fcd11938b7a4d4d7a9309f0881a05d799c755c248199deffa373abb8d2463069da2e747bae2e14e1a7f7c84a77779dba48eb0dc8dd04cb6044d528405
7
- data.tar.gz: 4692e16ff465debd6e2b79438c29e75ddf0f7bbbff2d4742a97abd1a38fd2c0241d84a330c014c25fed9b9b3f9d25e799dbdcc014e4c7b4921a81a6e2fad293d
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::HTTP.build({ host: @host, path: path })
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
@@ -1,3 +1,3 @@
1
1
  module Payture
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payture_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill