gupshup-sdk 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gupshup/restclient.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3b417f30c3c1b505f7c1225d8268daf9b3cc12acd24dea7b2e8d45295b38d25
4
- data.tar.gz: '0929d643a1041b3b56b08a5134d311ff1708dab64e01101510f24a974cf5147c'
3
+ metadata.gz: 7cabb7de15a135e8715f8404fa07d231195d2c20a6e73cd1f079cb270b71db7c
4
+ data.tar.gz: 01fd3d5d82cf7609abec192c7715d516adc17d855da2eb1d75adfc0498978d6c
5
5
  SHA512:
6
- metadata.gz: 40fe8594615cc0c4539f3ff182fdf8eb64be6e4bcdde08a249e8264c6bdd13c434822b469a65e3508636fa69ecb77ef6bfaaeda078c41bf87c7a033cd09797a1
7
- data.tar.gz: bbb17e3476a753a1ec63c3a92511ccf79a5265b00eec210bcd30cbf6af049e1c3454cfe56fb5f3c92198e0225b3d8ca21a608c4eaa862d0e6da53d651195f4c3
6
+ metadata.gz: 233df804d5939f90a5c24c2eaa89f7617277838e69788692a9203a2d12981707a1a22d2a5137434ba10388e7b1f10202117b5dbb7c15c406d8862681f44b2038
7
+ data.tar.gz: 230eae8d755485b4a8eb19aaf77de61e45a72cd90d9e4863d2f1cb19ae72320cb952104a2893af370546b3bab94cd34c0e5d1826357907ab5d232700f2904e52
@@ -19,7 +19,7 @@ def self.post(apikey:,body:,url:)
19
19
  response = http.request(request)
20
20
  case response
21
21
  when Net::HTTPSuccess then
22
- return {code:200,response:response.read_body}
22
+ return {code:200,response:JSON.parse(response.read_body)}
23
23
  else
24
24
  return {code:response.value,response:response.read_body}
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gupshup-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShoutOUT Labs