Class: Alula::CameraGetChimeInfoProc

Inherits:
RpcResource show all
Defined in:
lib/alula/procedures/camera_get_chime_info_proc.rb

Defined Under Namespace

Classes: Response

Class Method Summary collapse

Methods inherited from RpcResource

ok?, request, wrap_payload

Class Method Details

.call(device_id:) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/alula/procedures/camera_get_chime_info_proc.rb', line 18

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