paykassa 0.1.11 → 0.1.12
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 +1 -1
- 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: 66e7ca1344f94243c132cb9b2c33e795d0df597f4230f1d2d1d7f19c1900fe0d
|
4
|
+
data.tar.gz: 1d859254cb366502c46c58b98941b413d0eaf421faccffa3d0685ee06a1d3567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b4388874b808ace088fe7f9f1639fd251fb3f02c445d4c1c935e0da6680aa50f8019b19ed48f1ed06cb484b92c53074d52351db5065be1405e29c9494f74d1
|
7
|
+
data.tar.gz: 95cfeacd0ddc674b4ef9761c6bdf354732a18f0c2acd806f3c476fed8200882327e1e1838b7037ef307b127f722df9fada8818f3ee7756db443a69ae99de6f04
|
data/lib/paykassa/pay.rb
CHANGED
@@ -78,7 +78,7 @@ class PaykassaPay
|
|
78
78
|
def make_request(func,data,merge_auth = true, url= nil)
|
79
79
|
data = data.merge({func: func}) if !func.nil?
|
80
80
|
data = data.merge(@_auth) if merge_auth
|
81
|
-
url =
|
81
|
+
url = BASE_URL if url.nil?
|
82
82
|
@logger.info("private Pay.make_request with params: url: #{url.inspect}, data: #{data.inspect}") if !@logger.nil?
|
83
83
|
res = Net::HTTP.post_form(url, data)
|
84
84
|
@logger.info("private Pay.make_request: result: #{res.inspect}") if !@logger.nil?
|
data/lib/paykassa/version.rb
CHANGED