payture_api 0.1.6 → 0.1.7

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: fd1150eb4c43bf84ec0deb0d2db431cf5f30bc86
4
- data.tar.gz: 0d5d7262ba4ecef86e04b7e1a3da7ff3d03382dc
3
+ metadata.gz: 7c0aaf7fd6858271698480c959f9a4146c3fb007
4
+ data.tar.gz: 90b46a1ccb7fa8c977b6176a2b1013a1bf72a275
5
5
  SHA512:
6
- metadata.gz: 794b12bafa2ef2dda3ac8b3fd52c3f9c76e24c893e7e9411c5dc2f6cda3e055418892650a1a6886e43adf1824c87d36101e7a7a3a47b50b632dc2215cbaaf6fe
7
- data.tar.gz: 830aef0f44738236ab96e139914732b7f1741995a9eb6b910efeeb06b67726ff31a55baa8c07635c27ed6624219077d9cb446fc66882044491637ab316bec156
6
+ metadata.gz: 3ce176a455687c4c00258dee0d56e9a4056104587f27836dcd86fad0b519e80950f1f25d88f52ced8a2071311081b403392d3a644685e928df10d3ac969882dd
7
+ data.tar.gz: 459cbaec570843c7a95f1979eb48e6f1706735f3c92da1edb9b562d8b18667a8b9037e83fb957447b0a0f1985f5750315f464d0199c0e59366b132cf528ab3a3
data/lib/payture/api.rb CHANGED
@@ -19,9 +19,9 @@ class Payture::API
19
19
  # puts "request.data: #{data}"
20
20
 
21
21
  uri = URI::HTTPS.build({ host: @host, path: path })
22
- # puts "URI: #{uri}"
22
+ puts "URI: #{uri}"
23
23
  http = Net::HTTP.new(uri.host, uri.port)
24
- # http.use_ssl = true
24
+ http.use_ssl = true
25
25
  req = Net::HTTP::Post.new(uri.request_uri)
26
26
  req.body = data.to_query
27
27
  # puts "request: #{req}"
@@ -1,3 +1,3 @@
1
1
  module Payture
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill