csob_payment_gateway 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3854d6fa2f7bb5319d11755beb668c736eeb5abe
|
4
|
+
data.tar.gz: d587f4270083eaf450dac18634069957ed87eb69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 590a685972a65baf178ccd447ec10ca002cbaa567d9012eed9f94559c7b34d716b4627219ed81b664384668e2f09debd0e07dc69d3d648797464b245b503a6bc
|
7
|
+
data.tar.gz: 2f5f011cfa87f6d41fa3bba67c3430271a8cce15b6b1ee072aaa92e806314a343e9a2e8f9e4e62780345b8c8dbea22a951343e780f7ea7512baf545e93807e27
|
@@ -27,7 +27,7 @@ module CsobPaymentGateway
|
|
27
27
|
def payment_init
|
28
28
|
api_init_url = CsobPaymentGateway.configuration.urls["init"]
|
29
29
|
|
30
|
-
response = RestClient.post gateway_url + api_init_url, payment_data.to_json, content_type: :json, accept: :json
|
30
|
+
response = RestClient.post gateway_url + api_init_url, payment_data.to_json, { content_type: :json, accept: :json }
|
31
31
|
self.response = JSON.parse(response)
|
32
32
|
end
|
33
33
|
|