innologix 0.0.3 → 0.0.4

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: c560bcfb94d68ad390803222832aea892f6bba2c
4
- data.tar.gz: d8595d0614f12aa46d6c8532ff3dab20f7586aa7
3
+ metadata.gz: 7d58e24b59034210765e5b1e6a1054cade5b8ce8
4
+ data.tar.gz: 3e3ac80a84999e9b68bea0ad727b029909e20c29
5
5
  SHA512:
6
- metadata.gz: 54be59a8677c93635d7d9adab7fdfa67ca52da717a03d8e888f4887d410ee78caa3bd1ef37dc2abc6b99bc5995db0511b921641528b02547653bb0e17ab9102b
7
- data.tar.gz: 95241c1087e9a87389338d98ddd905b94359c338cc9c18c985b1bd546d97dbeeda7160bcf5983d48d587974e401ffbd2a5ab5160b989176367ee74819cb1db2a
6
+ metadata.gz: bf0efe38e4983ae02404f6c21d5b444dfb5ff9b262ae2e120550b45f624056e12dd50ef7da7bbd82d7eb9f4df185cd977287fc9bb2bf316030bbd5b6905a3b00
7
+ data.tar.gz: 228a2917ba1e9ccb00bc1302c604c6d28e68a387cceff0a9d6552baa8efdb3fa66b32bbaa3c59c16a51929cb7320274861d834c140650ee048901fd62fb98b10
@@ -8,6 +8,9 @@ module Innologix
8
8
  attr_accessor :created_at
9
9
  attr_accessor :updated_at
10
10
 
11
+ attr_accessor :storage
12
+ attr_accessor :groups
13
+
11
14
  attr_accessor :client
12
15
  attr_accessor :error
13
16
 
@@ -139,6 +142,17 @@ module Innologix
139
142
  supervisor.storage_id = attributes[:storage_id]
140
143
  supervisor.created_at = attributes[:created_at]
141
144
  supervisor.updated_at = attributes[:updated_at]
145
+
146
+ if attributes[:storage] != nil
147
+ supervisor.storage = Innologix::Storage.new(attributes[:storage])
148
+ end
149
+
150
+ supervisor.groups = []
151
+ if attributes[:groups] != nil
152
+ attributes[:groups].each do |group|
153
+ supervisor.groups.push(Innologix::Group.new(group))
154
+ end
155
+ end
142
156
  supervisor
143
157
  end
144
158
  end
@@ -1,3 +1,3 @@
1
1
  module Innologix
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - SkyLab Innogram