Class: Alula::CameraGetServerConfigProc

Inherits:
RpcResource show all
Defined in:
lib/alula/procedures/camera_get_svr_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_svr_config_proc.rb', line 14

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