Class: Alula::CameraSetRecordingConfigProc
- Inherits:
-
RpcResource
- Object
- RpcResource
- Alula::CameraSetRecordingConfigProc
- Defined in:
- lib/alula/procedures/camera_set_rec_config_proc.rb
Defined Under Namespace
Classes: Response
Class Method Summary collapse
Methods inherited from RpcResource
Class Method Details
.call(event:) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/alula/procedures/camera_set_rec_config_proc.rb', line 15 def self.call(event:) request( http_method: :post, path: "/v1/device/#{serial_number}/recordConfig", payload: { event:, allday: { mode: 'NULL' } }, handler: Response ) end |