coinsetter 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/coinsetter/collection.rb +3 -3
- data/lib/coinsetter/net.rb +1 -1
- data/lib/coinsetter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afeffb31dcc3d845af188921bbf992e29c673bc7
|
4
|
+
data.tar.gz: 72cfe313d63a7acea8d723f6cc4e50af18c64327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffccf55b06cb5a9fbf1180783c687e806707d25b912e9412783279c032293bffa2ef24a17e47b7838f5738a9128aa283a6ad4555da91bd79dc196acaba0789fd
|
7
|
+
data.tar.gz: fee5fff28bac73aadd6f8b4df6694b62addacfe252c0d1541389ea92f20f2542e535fbc7f680db04e28b6d7667d690e42e594c3e93d988592446446f63ef8d5f
|
@@ -40,10 +40,10 @@ module Coinsetter
|
|
40
40
|
|
41
41
|
private
|
42
42
|
def parse
|
43
|
-
if response.include? "\"
|
44
|
-
Coinsetter::Helper.parse_object! response, model
|
45
|
-
else
|
43
|
+
if response.include? "\"response\":\"error\""
|
46
44
|
Coinsetter::Helper.parse_message! response
|
45
|
+
else
|
46
|
+
Coinsetter::Helper.parse_object! response, model
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
data/lib/coinsetter/net.rb
CHANGED
data/lib/coinsetter/version.rb
CHANGED