bills-payment 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 +4 -4
- data/lib/bills-payment/actions/post.rb +2 -2
- 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: 4cae54780dfef011e8cfd4bb55ff92db8479f19a76e5ad8d7fa654a90e84d2f1
|
4
|
+
data.tar.gz: 74da3fd522a066fbc753fd971b9ea329eb4f4fa427b80a6689e9d16581db6666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10381d09058d70aef4e570b2deba665f272b3719bb1b4b2c4ba127790f6da2ca42391213aa85b6706941619ae566f7e850c9c94b74f52d8d18cf519cf7286016
|
7
|
+
data.tar.gz: c7edc41c8cc42b958cf052a6b060e2e793fcc617b3a4bd2628a34e1b7aaa2afc6fa7773811081f6226b9a97bb9c6e05876e28879edda33cc834b299294b73bc1
|
@@ -6,14 +6,14 @@ module BillsPayment
|
|
6
6
|
def load_category
|
7
7
|
api_url = "#{api_url}/categories"
|
8
8
|
# response = BillsPayment.request(api_url, :post)
|
9
|
-
response = RestClient.post 'http://14.98.171.134:9090/billspayment/bill/categories'
|
9
|
+
response = RestClient.post 'http://14.98.171.134:9090/billspayment/bill/categories', {}
|
10
10
|
response = JSON.parse(response.body)
|
11
11
|
end
|
12
12
|
|
13
13
|
def load_billers(id)
|
14
14
|
api_url = "#{api_url}/getbillers/#{id}"
|
15
15
|
# response = BillsPayment.request(api_url, :post)
|
16
|
-
response = RestClient.post "http://14.98.171.134:9090/billspayment/bill/getbillers/#{id}"
|
16
|
+
response = RestClient.post "http://14.98.171.134:9090/billspayment/bill/getbillers/#{id}", {}
|
17
17
|
response = JSON.parse(response.body)
|
18
18
|
end
|
19
19
|
|