paykassa 0.1.29 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paykassa/pay.rb +2 -0
- data/lib/paykassa/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c46b90da219c4ae6ddf696c09100c4f71e67dc2ce956597ee874183c620d3e0
|
4
|
+
data.tar.gz: 5b9133058f8de4db112eb6e35a0ac1293a27dc8838d83519d3655ad83a19d29e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3ad957e40465dbc773942ea6cba69493aa6e4b3acfe3a092e3276508fe33508862c39ff55b2aa6d06a38006a60f8687f25c5f89c8c2a25fe8fddcd3276f8d18
|
7
|
+
data.tar.gz: 48c816c415c24bde4ca8e47189ad4a9d24050b0e5c236cf3e3de359d84b05c721ddfc2a61ad3e0b5c392fad4edaf8bd4c351c3707d4df4419e075630a1bb2d9e
|
data/lib/paykassa/pay.rb
CHANGED
@@ -84,9 +84,11 @@ class PaykassaPay
|
|
84
84
|
data = data.merge({func: func}) if !func.nil?
|
85
85
|
data = data.merge(@_auth) if merge_auth
|
86
86
|
url = BASE_URL if url.nil?
|
87
|
+
puts "private Pay.make_request with params: url: #{url.inspect}, data: #{data.inspect}"
|
87
88
|
@logger.info("private Pay.make_request with params: url: #{url.inspect}, data: #{data.inspect}") unless @logger.nil?
|
88
89
|
res = Net::HTTP.post_form(url, data)
|
89
90
|
@logger.info("private Pay.make_request: result: #{res.inspect}") unless @logger.nil?
|
91
|
+
puts "private Pay.make_request: result: #{res.inspect}"
|
90
92
|
JSON.parse(res.body).deep_symbolize_keys
|
91
93
|
end
|
92
94
|
|
data/lib/paykassa/version.rb
CHANGED