cradlepoint 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cradlepoint.rb +1 -2
- data/lib/cradlepoint/hash_helpers.rb +1 -1
- 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: 8b22d2f2d6acac43af74052aa2196bd1ddd32c19
|
4
|
+
data.tar.gz: e94608b410b016ac61ea0ea5aeb0868d2c86f049
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da2b87096d7035ac878390ae23601276141bc928b25e9dd51b18896fc3720105c0a357f481f8df56eb9de7c1535d52bfa4e78bac4eb6050aada77a0640a3659d
|
7
|
+
data.tar.gz: 72f5bd64be30d269b9bcdb7ff448dff63b09257cc1310f134c01ef766c696a3b3ab01858e8708b95feaf3c5db503b265f83fa5c2d44cc0b0655035cd9df8cd82
|
data/lib/cradlepoint.rb
CHANGED
@@ -13,7 +13,6 @@ require 'cradlepoint/router'
|
|
13
13
|
require 'cradlepoint/config'
|
14
14
|
|
15
15
|
module Cradlepoint
|
16
|
-
include Cradlepoint::HashHelpers
|
17
16
|
|
18
17
|
class << self
|
19
18
|
attr_accessor :username, :password, :account, :base_url
|
@@ -63,7 +62,7 @@ module Cradlepoint
|
|
63
62
|
end
|
64
63
|
|
65
64
|
parsed_response['success'] ?
|
66
|
-
symbolize_keys(parsed_response['data']) :
|
65
|
+
Cradlepoint::HashHelpers.symbolize_keys(parsed_response['data']) :
|
67
66
|
raise("Unsuccessful response received.") # TODO: Handle more elegantly.
|
68
67
|
end
|
69
68
|
end
|
data/lib/cradlepoint/version.rb
CHANGED