# frozen_string_literal: true module Alula class CameraSetRecordingConfigProc < Alula::RpcResource class Response < Alula::RpcResponse end def self.call(event:, allday:) payload = { "event": event, "allday": allday } request( http_method: :post, path: "/v1/device/#{serial_number}/recordConfig", payload: payload, handler: Response ) end end end