cradlepoint 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cradlepoint/router.rb +3 -2
- data/lib/cradlepoint/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: dffd7b4208acdac3016f085b106532886df3bb3f
|
4
|
+
data.tar.gz: ae4440195680a534e646110625de8c345ccb16c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 327306adeb73994f74803633169dd831e12de862b8ca7b84fab3b0fdb55ca68b489d26e25f80bb7a0f2624483b58612bbd1c9c5348c3b522ae90944fbba067e6
|
7
|
+
data.tar.gz: e931b6f903bc6eebfc8cd8e01d4afbd41f84aff0b37fc358ba1614c1f75390a00d05737670e0d159f1ca1af0ea84019e4162922f8b613deb0b15ca214522ab23
|
data/lib/cradlepoint/router.rb
CHANGED
@@ -80,7 +80,8 @@ module Cradlepoint
|
|
80
80
|
get unless self.data and self.data.any?
|
81
81
|
return nil unless self.data[:group]
|
82
82
|
|
83
|
-
group_data = Cradlepoint.make_request(get, build_url(self.data[:group].split('/api/v1').last))
|
83
|
+
group_data = Cradlepoint.make_request(:get, build_url(self.data[:group].split('/api/v1').last))
|
84
|
+
return unless group_data
|
84
85
|
self.group_name = group_data[:name]
|
85
86
|
group_data
|
86
87
|
end
|
@@ -89,7 +90,7 @@ module Cradlepoint
|
|
89
90
|
get unless self.data and self.data.any?
|
90
91
|
return nil unless self.data[:group]
|
91
92
|
|
92
|
-
Cradlepoint.make_request(get, build_url(self.data[:group].split('/api/v1').last + '/routers'))
|
93
|
+
Cradlepoint.make_request(:get, build_url(self.data[:group].split('/api/v1').last + '/routers'))
|
93
94
|
end
|
94
95
|
|
95
96
|
def lazy_load_router_data
|
data/lib/cradlepoint/version.rb
CHANGED