innologix 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c4006dc6836aa2c194a16aa291312675318a88e
4
- data.tar.gz: cf108dc1e5498dbebc8720f8a0e27b58a9cdcf76
3
+ metadata.gz: 56cea29b0ddc0fac07285de5777ef39519b04e61
4
+ data.tar.gz: 0d2680f9df16317d6e8efd05201dfbf288a1ed1d
5
5
  SHA512:
6
- metadata.gz: 3561e935bac22fb67a1cddbabd6727de86fd1ad34bcadb581602cd177b3008d950e47b2eadef9de33c5598272c8144175c97f864287891b4effc35954bdf7a06
7
- data.tar.gz: 8bcc9e82756de4df619bb6388795b2819399041824762fa64a8c64385b3a0d0b220db2984abd0278c48266b0c0ba600ce08352a62b9d8d58b3d965670647e9cd
6
+ metadata.gz: cf250eab7ac2cb4408c1abb56ee1a00eb7419b8f23f40530ba3f4a6d91700b9f7bde05fbcdb5e7cd95a2569c8aea04353e2d91129e8b59fd68cd46e3a1e7f631
7
+ data.tar.gz: 870858a9be16bd9f4076ee88390d494ce73c45e6ea84f38cbdb5853fd78963e495ac4f6d8ba1abdbc1f5a2aae6370f1dae833fe974d4fb8ed5eaff9dd775e5af
@@ -32,10 +32,10 @@ module Innologix
32
32
  end
33
33
  end
34
34
 
35
- def statistic_minutes(from_time, to_time, arrange)
35
+ def statistic_minutes(from_time, to_time, arrange, supervisor_id = 0)
36
36
  path = '/device_logs/statistic_minutes'
37
37
  method = 'get'
38
- options = {query_params: {from_time: from_time, to_time: to_time, arrange: arrange}}
38
+ options = {query_params: {from_time: from_time, to_time: to_time, arrange: arrange, supervisor_id: supervisor_id}}
39
39
  result = client.call_api(path, method, options)
40
40
  if result[:error] == 0
41
41
  list = []
@@ -1,3 +1,3 @@
1
1
  module Innologix
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: innologix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - SkyLab Innogram