swift_sms_gateway 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1131b7cd5e243a92116b2e9ce3db024291d6fe79
4
- data.tar.gz: 3350b71849b75c0ca6867aeb71fb8c99da27eeca
3
+ metadata.gz: 893d41cbe53466dc081e0852e102028d77c7e459
4
+ data.tar.gz: 3029b2cafd1925006866e719ab02d293604545cc
5
5
  SHA512:
6
- metadata.gz: fa668bf4fb02117227375fb649a10a5bc02ba96df1a4bc4427d8c20a29c12003aca9e06fa5f70f347bee3f99228d0a56fb48cb508ef1e7e0441f48d196fc607f
7
- data.tar.gz: b4953e92c6d49e60f870f9b6e352f2bdf30daafbd0232d759de9616705c053be6cec23f458f2ae04c900a8f97a0a72a7d64fdc1061f56ecf26bfd29f70244ac2
6
+ metadata.gz: ec8e4649512aa746632dcc9de6dfd572d97aac29f403af417d18fa007eceb5a9b354ddc094d4deff19df1a4c9c7a4235c310ef9f60fc0784853c8c54228b9329
7
+ data.tar.gz: e76fcf5ad513fe1806dc50d5ce45ff24ebbc66004b259e0a24c12af5c3df75ef07071d2c1317f9ce549e979b6b06d608b197188bbb9676a8967a8ce0c8a99816
@@ -19,7 +19,7 @@ module SwiftSmsGateway
19
19
  def send_response
20
20
  case @response.code
21
21
  when 200, 201, 204
22
- @response.parse
22
+ JSON.parse(@response)
23
23
  else
24
24
  raise SwiftSmsGatewayError, @response
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module SwiftSmsGateway
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swift_sms_gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dilkhush Soni
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-30 00:00:00.000000000 Z
11
+ date: 2020-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler