iqsms 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iqsms/response.rb +3 -1
- data/lib/iqsms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60b85ebf22e89c6a69d6cd4b21783f86ade31786
|
4
|
+
data.tar.gz: ce253fe5a6a751b2d99b1687badc2901a8a9bdfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0be26979b4e6abccdd68b4ec720c736863a5e9558472830fadb8369884569208ec58476b32617cd3f3e3388670adf670e6e9f339c09af2ba1f96bac13e410f8
|
7
|
+
data.tar.gz: f941015fb966a54a5d07cb3b649314c6e70eb2695064d4e3795c93a13deaf511adac80dda633c1eb13d5ca2338dfe4dbd87a6f590b35d0efa038193b2049741e
|
data/lib/iqsms/response.rb
CHANGED
@@ -5,7 +5,9 @@ module IqSMS
|
|
5
5
|
def initialize(original_response)
|
6
6
|
@original_response = original_response
|
7
7
|
@hash = if @original_response.body.present?
|
8
|
-
|
8
|
+
puts "@original_response.body = #{@original_response.body.inspect}"
|
9
|
+
puts "@original_response.body = #{@original_response.body.to_s}"
|
10
|
+
JSON.parse(@original_response.body.to_s)
|
9
11
|
else
|
10
12
|
{}
|
11
13
|
end
|
data/lib/iqsms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iqsms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksey Glukhov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|