Class: Alula::DeviceUnregisterProc
- Inherits:
-
RpcResource
- Object
- RpcResource
- Alula::DeviceUnregisterProc
- Defined in:
- lib/alula/procedures/device_unregister_proc.rb
Defined Under Namespace
Classes: Response
Class Method Summary collapse
Methods inherited from RpcResource
Class Method Details
.call(mac:, deactivate:) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/alula/procedures/device_unregister_proc.rb', line 7 def self.call(mac:, deactivate:) payload = { mac: mac, deactivate: deactivate, } request( http_method: :post, path: '/rpc/v1/devices/unregister', payload: payload, handler: Response ) end |