Sha256: 60f26fc6a1eb6ad070f9488a3a0680e70f0b2d1e23de0b4e3e9f8911f327840d
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module Alula class CameraSetRecordingConfigProc < Alula::RpcResource class Response < Alula::RpcResponse attr_accessor :result def initialize(response) super(response) @result = response.data['data'] @cmd = response end end def self.call(event:) request( http_method: :post, path: "/v1/device/#{serial_number}/recordConfig", payload: { event:, allday: { mode: 'NULL' } }, handler: Response ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alula-ruby-1.9.10 | lib/alula/procedures/camera_set_rec_config_proc.rb |