innologix 0.0.21 → 0.0.22

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: 55fae2a5e5889b2d3e4d155b68fc7bd5fdd59194
4
- data.tar.gz: 187e08f81443cbec432c33a3127d612d6e934619
3
+ metadata.gz: f6f5d5b3d2ab6a4d434f67c358c23874d0db21c2
4
+ data.tar.gz: e35d588e7195eb9c645fdb022b39f494407897a1
5
5
  SHA512:
6
- metadata.gz: cb4f1553003e37c4b04bd4038997f404abaccd53ea373ec5fab2aa64433b636b8f0305536f961dd140ef895812a4f4549cf512970eb5c7cbc4039f64e5082f12
7
- data.tar.gz: ab2893512c5d5fe6f8ac718991e0e1f48f1042b6641ec74f8e2775006ad207c1d42e44cac3224d0497a7c782efbe2d1e30c457b23cb7f0594b4ed811e6276254
6
+ metadata.gz: b745062956f8b81c10aa3279a4cc21e9330ff77273a0482718656eb5d13a42fd2c9ca68dcfb5200c633dd6d4e017a6739d8e739a44a8a252a6f378d60b07d6a8
7
+ data.tar.gz: 05997307c167375ead2e32ce259448fc140b9bc85d06731fe55dd4b16191f9328848017592c826df19a2e00bf4b2730c5b9507c31b169174c7d1dd26c95177cb
@@ -10,6 +10,7 @@ module Innologix
10
10
 
11
11
  attr_accessor :storage
12
12
  attr_accessor :groups
13
+ attr_accessor :device_types
13
14
 
14
15
  attr_accessor :client
15
16
  attr_accessor :error
@@ -165,6 +166,14 @@ module Innologix
165
166
  supervisor.groups.push(Innologix::Group.new(group))
166
167
  end
167
168
  end
169
+
170
+ supervisor.device_types = []
171
+ if attributes[:device_types] != nil
172
+ attributes[:device_types].each do |device_type|
173
+ supervisor.device_types.push(Innologix::DeviceType.new(device_type))
174
+ end
175
+ end
176
+
168
177
  supervisor
169
178
  end
170
179
  end
@@ -1,3 +1,3 @@
1
1
  module Innologix
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.22"
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.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - SkyLab Innogram