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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 411e4ed094778149dad9f4340d735bf354ccf3ef
4
- data.tar.gz: 6715ec00ae2b63b08e1d639f4672c207c6042ed9
3
+ metadata.gz: 30c0ed0fcd48963be452718a6cbbef8bf2db710e
4
+ data.tar.gz: 1c1ae865e39059ed121927d3072f9b0374237f43
5
5
  SHA512:
6
- metadata.gz: 0b86ac9eb452e36736f26ba6fdbfb2c962cf86b5f7f2383a5bc2938ec9c85d5735a81b00d7587c766eeb65c0bee1881dab9d03b366f02e06b09428e1c7606207
7
- data.tar.gz: ad0b84b11196660d8c5694f9373d196c71218dcd184bc2e4dc2b39145ea2ba435c83cef78eeea33e90a44a2198a0d6f3798106a5528456daa484153fc6fd64b8
6
+ metadata.gz: 71edef60e3fcf4af77c71cb29721c9b47e6294b6d2f1c866d3b8277a9f844bdcb58f98f823608a74cd27eaf581e6988aabf0917041928ea58e36b629b610190f
7
+ data.tar.gz: 11c835bf43b1b25ea18c73e3e6d1eea803641f004b9919bc59a626d2546782e7690187061fa58640ca8df2886d3064a179f24e1b61cfccf82cdc5749bbfad242
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module Innologix
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
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.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - SkyLab Innogram