cradlepoint 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/cradlepoint/net_flow.rb +5 -0
- data/lib/cradlepoint/version.rb +1 -1
- metadata +3 -4
- data/.travis.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1373f6b332770fa6cf159c18db4a9b5464248a4c
|
4
|
+
data.tar.gz: 4c26ee69e2b22bd8d36214dab6cd0cca5632e37f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e20ab7f5c0d1ef0ba474505ebd35111b05f81170435914d93b191f2554ac59f925bd6255567f6460550f57cda146ec481fc1385480d21f920dc870ccadb730
|
7
|
+
data.tar.gz: 5872fc804609cb629a2024db15df877529261d570ac35b6a476617867ae9a60a9060d6c7a880d7bec3766a3a44fe6982757eb6fc53eaf81ad7dab2996f82d2d0
|
data/lib/cradlepoint/net_flow.rb
CHANGED
@@ -28,6 +28,11 @@ module Cradlepoint
|
|
28
28
|
self.status_data = Cradlepoint.make_request(:get, build_new_url("#{ rel_url }/status"), params)
|
29
29
|
end
|
30
30
|
|
31
|
+
def get_wan_devices
|
32
|
+
raise 'You must provide a mac' unless self.mac
|
33
|
+
Cradlepoint.make_request(:get, build_new_url("#{ rel_url }/status/wan/devices"), params)
|
34
|
+
end
|
35
|
+
|
31
36
|
def params
|
32
37
|
{ params: { format: :json, mac: self.mac, limit: 1 } }
|
33
38
|
end
|
data/lib/cradlepoint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cradlepoint
|
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
|
- uceem
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -88,7 +88,6 @@ extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
90
|
- .gitignore
|
91
|
-
- .travis.yml
|
92
91
|
- Gemfile
|
93
92
|
- LICENSE.txt
|
94
93
|
- README.md
|
@@ -133,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
132
|
version: '0'
|
134
133
|
requirements: []
|
135
134
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.0.
|
135
|
+
rubygems_version: 2.0.5
|
137
136
|
signing_key:
|
138
137
|
specification_version: 4
|
139
138
|
summary: Cradlepoint ECM API gem
|