Class: Alula::CameraGetRecordingConfigProc

Inherits:
RpcResource
  • Object
show all
Defined in:
lib/alula/procedures/camera_get_rec_config_proc.rb

Defined Under Namespace

Classes: Response

Class Method Summary collapse

Methods inherited from RpcResource

ok?, request, wrap_payload

Class Method Details

.call(serial_number:) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/alula/procedures/camera_get_rec_config_proc.rb', line 14

def self.call(serial_number:)
  request(
    http_method: :get,
    path: "/video/v1/device/#{serial_number}/recordConfig",
    handler: Response,
    payload: {}
  )
end