allpay 0.0.7 → 0.0.8

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: fa6b2bf1bf59a68423d0dd1864bd237fef91cc9e
4
- data.tar.gz: 27c1ed9ff7b783096cf91c49d4454cb4df78ac5f
3
+ metadata.gz: dfe2bcb94104c7658fc64d68eaee3ade863d4d18
4
+ data.tar.gz: 97e2419d00b5d0aa6137d6b64287a0f7d5635639
5
5
  SHA512:
6
- metadata.gz: 0ea6244646e15b339da49c9f3f36649a5f7a904e639f4ddd0305fe456c6dbf5e5062e0b6c8dfcb664b840c0441171c07fcd1a40548f746e285d2ab1002246e1a
7
- data.tar.gz: f3b3d78c99ba44da6e8f810a3be40950a8415be8d2e315324fe836b7108148555049ea85a9f198129c7512cea0d5f8a43b138824fefad72071f0e24e47164021
6
+ metadata.gz: 07398f8387cdda40ee8709fdb61a0968f717a79837e195ccc35d694f2907cbe389f15e81586773f0abadda2acc2fbfc193463c063a1d14a561ba931f0eee174b
7
+ data.tar.gz: 7984c9a17d44da5e6c376d15f1c2c9520d787009e4c92a74df2b0a4db50b7288d4c953a344e91bbd242a79b32a53a8b2ac5a84284b1d2204b01624db020dfa39
@@ -39,7 +39,7 @@ module Allpay
39
39
  'ReplyURL' => options[:reply_url] || "",
40
40
  'Remark' => options[:remark] || "",
41
41
  })
42
-
42
+ # p enc_data
43
43
  begin
44
44
  result = Client.parse_xml(get('/payment/Srv/gateway', {"MerchantID" => merchant_id, "PaymentType" => "vAccount", "XMLData" => enc_data}))
45
45
  rescue => e
@@ -85,7 +85,7 @@ module Allpay
85
85
  def get(path, params = {})
86
86
  uri = Addressable::URI.new
87
87
  uri.query_values = params
88
- open("http://#{api}/#{path}?#{uri.query}").read
88
+ open("https://#{api}/#{path}?#{uri.query}").read
89
89
  end
90
90
 
91
91
  end
@@ -1,3 +1,3 @@
1
1
  module Allpay
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - odin1in
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-02 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler