paymentsds-mpesa 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.18

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
  SHA256:
3
- metadata.gz: 49ed75e6b0ee3a9e9f48640398173d61b959119e29f7f662b84ac94bd83014eb
4
- data.tar.gz: e1444375cf22dbbaea6473e41d5de5bab5a8d42408f251da431cf90fedc16f48
3
+ metadata.gz: 88aa84672598eae578bb28ba63afdc58e6d95a03aebad8de4f04b4135a1075aa
4
+ data.tar.gz: 4567a1ed8243c44b7bc0b091858152a67e65adacbd7757df5191375104f00ab8
5
5
  SHA512:
6
- metadata.gz: 9fd64d4ce15517bb0c153fbb82f51870af27b60260b4d0eb97d57fdcb5c4aaecc9b423dd10cccddac5666d929123af6595744fe8fd45ecf754b382bfd4223608
7
- data.tar.gz: 035a77d5c119230571c84c89f0eacc589646ca457f789f6a6797124bcc852bb28fb6e165566ece91f703d6e9c69782e0608a83497b30b84f8f782bf1c04c1c31
6
+ metadata.gz: 9c836c0f1205861cdcdf710ecb85eaca1e8ef22c8db55e0d6a886f17bdfbc6db92c0b751f2416235ce1fce5bc03475f5f4dbbc2f01c298701588a5c369f069bf
7
+ data.tar.gz: 1e4f4bd904bc8319fe0498a2ac01181b51a411dff0996be85e95441ac57159467a062382af2b853f6c39260496dfe715ea01ab506af791331c73eddf6ee22171
@@ -155,19 +155,19 @@ module Paymentsds
155
155
  case operation[:method]
156
156
  when :get
157
157
  response = http_client.get(request_data[:path]) do |req|
158
- req.params = request_data.body
158
+ req.params = request_data[:body]
159
159
  req.options.timeout = request_data[:timeout]
160
160
  end
161
161
 
162
162
  when :post
163
163
  response = http_client.post(request_data[:path]) do |req|
164
- req.body = request_data.body.to_json
164
+ req.body = request_data[:body].to_json
165
165
  req.options.timeout = request_data[:timeout]
166
166
  end
167
167
 
168
168
  when :put
169
169
  response = http_client.put(request_data[:path]) do |req|
170
- req.body = request_data.body.to_json
170
+ req.body = request_data[:body].to_json
171
171
  req.options.timeout = request_data[:timeout]
172
172
  end
173
173
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Paymentsds
4
4
  module MPesa
5
- VERSION = '0.1.0.pre.alpha.17'
5
+ VERSION = '0.1.0.pre.alpha.18'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paymentsds-mpesa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.17
4
+ version: 0.1.0.pre.alpha.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edson Michaque