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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 298f2d6373b22b0c235671b74e9901c121fd72ed
4
- data.tar.gz: 4c5f924d6f5756c0de55bc394935592dc0d95438
3
+ metadata.gz: dffd7b4208acdac3016f085b106532886df3bb3f
4
+ data.tar.gz: ae4440195680a534e646110625de8c345ccb16c5
5
5
  SHA512:
6
- metadata.gz: 13dafc9d24541cd6c57878c469686be913d9c31ccac5a41e4ce77db6177380b95c0bd4e2f9315724e4622e080db22d7574d1ce6a6a30370ff49f01050238ee97
7
- data.tar.gz: 853b391549de78ecb5e3ffa15db85e909dccb776e37d7b1f6ddac90539ccb8d9057fefbdbad384dd7ff8feefe3bdc49a3d4ca9c4af8930f9b67013b7086d907a
6
+ metadata.gz: 327306adeb73994f74803633169dd831e12de862b8ca7b84fab3b0fdb55ca68b489d26e25f80bb7a0f2624483b58612bbd1c9c5348c3b522ae90944fbba067e6
7
+ data.tar.gz: e931b6f903bc6eebfc8cd8e01d4afbd41f84aff0b37fc358ba1614c1f75390a00d05737670e0d159f1ca1af0ea84019e4162922f8b613deb0b15ca214522ab23
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Cradlepoint
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cradlepoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - uceem