bills-payment 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bills-payment.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: 4ffd938c701485f26c9c073d2b135432c921e1a6de32d6b6ab132a6b6d3fad38
|
4
|
+
data.tar.gz: d4d23d82756d7b8686ef94c1d15796718dabd428db3340117f76e3e3e4923358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 484a007e6496741543e0d8213a06bacec8c57724a7b36a75031a27e7b2e49bb9c27005a29269389ce55372b249c7d8cfe0fe0b9dce167a9d560d89ac62f06bf0
|
7
|
+
data.tar.gz: 20d73bd195d5f5f33b5329e423d7e5e65c43bd3868cf510687297025b480272b1ed081e7ac33400d5a52e265de6978b0edbd09fd046d8322d84bb44f5c64a370
|
data/lib/bills-payment.rb
CHANGED
@@ -26,7 +26,7 @@ module BillsPayment
|
|
26
26
|
# raise(AuthenticationError, 'Set your API Key using BillsPayment.api_key = <API_KEY>') unless api_key
|
27
27
|
begin
|
28
28
|
url = URI.join(@base_url, api_url).to_s
|
29
|
-
response = RestClient::Request.execute(method: method, url: url, payload: params.to_json
|
29
|
+
response = RestClient::Request.execute(method: method, url: url, payload: params.to_json)#, headers: request_headers)
|
30
30
|
JSON.parse(response) unless response.empty?
|
31
31
|
rescue RestClient::ExceptionWithResponse => e
|
32
32
|
if (response_code = e.http_code) && (response_body = e.http_body)
|