solaredge 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solar_edge/site.rb +2 -2
- data/lib/solar_edge/sites.rb +1 -1
- data/lib/solar_edge/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: 5fb48a0918a8c2497e181428220be839b825cba3
|
4
|
+
data.tar.gz: 306550705ab2146437dea5e39642d9885011bd68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 101e90e5406fc8f5e897593909a31c8e52938d7e4d819d70e5968ef62541bb9aa091d12975c9458439ceda302fa44195186f70be6ca2c8b9d8eeb9121e205fdc
|
7
|
+
data.tar.gz: 2702e21b62d22290dddaaf325325938987eef66f5bb3824056c9a0fdc9c533055b363bee44a5f4d79b5a56c30d14a3f4e468f42115225b1ce79e8f5cce4d01d1
|
data/lib/solar_edge/site.rb
CHANGED
@@ -12,7 +12,7 @@ module SolarEdge
|
|
12
12
|
@details = id_or_details
|
13
13
|
@id = @details['id']
|
14
14
|
else
|
15
|
-
@id =
|
15
|
+
@id = id_or_details
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
@@ -65,7 +65,7 @@ module SolarEdge
|
|
65
65
|
private
|
66
66
|
|
67
67
|
def details
|
68
|
-
@details ||= @client.send(:query, "/site/#{id}/details")
|
68
|
+
@details ||= @client.send(:query, "/site/#{id}/details")['details']
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
data/lib/solar_edge/sites.rb
CHANGED
data/lib/solar_edge/version.rb
CHANGED