innologix 0.0.19 → 0.0.20
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 +4 -4
- data/lib/innologix/device.rb +4 -2
- data/lib/innologix/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: 30c0ed0fcd48963be452718a6cbbef8bf2db710e
|
4
|
+
data.tar.gz: 1c1ae865e39059ed121927d3072f9b0374237f43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71edef60e3fcf4af77c71cb29721c9b47e6294b6d2f1c866d3b8277a9f844bdcb58f98f823608a74cd27eaf581e6988aabf0917041928ea58e36b629b610190f
|
7
|
+
data.tar.gz: 11c835bf43b1b25ea18c73e3e6d1eea803641f004b9919bc59a626d2546782e7690187061fa58640ca8df2886d3064a179f24e1b61cfccf82cdc5749bbfad242
|
data/lib/innologix/device.rb
CHANGED
@@ -94,7 +94,8 @@ module Innologix
|
|
94
94
|
def create
|
95
95
|
path = '/devices'
|
96
96
|
method = 'post'
|
97
|
-
form_params = {name: name, address: address, device_type_id: device_type_id, fwd_proto: fwd_proto, m2m_id: m2m_id
|
97
|
+
form_params = {name: name, address: address, device_type_id: device_type_id, fwd_proto: fwd_proto, m2m_id: m2m_id,
|
98
|
+
mac_address: mac_address, interval: interval}
|
98
99
|
options = {form_params: {device: form_params}}
|
99
100
|
result = client.call_api(path, method, options)
|
100
101
|
if result[:error].nil?
|
@@ -107,7 +108,8 @@ module Innologix
|
|
107
108
|
def update
|
108
109
|
path = '/devices/' + id.to_s
|
109
110
|
method = 'put'
|
110
|
-
form_params = {name: name, address: address, device_type_id: device_type_id, fwd_proto: fwd_proto, m2m_id: m2m_id
|
111
|
+
form_params = {name: name, address: address, device_type_id: device_type_id, fwd_proto: fwd_proto, m2m_id: m2m_id,
|
112
|
+
mac_address: mac_address, interval: interval}
|
111
113
|
options = {form_params: {device: form_params}}
|
112
114
|
result = client.call_api(path, method, options)
|
113
115
|
if result[:error].nil?
|
data/lib/innologix/version.rb
CHANGED