Sha256: 635125dcd83ecb4f81fe9ce10a54e271fd657b868e4eec30ff79dac052409c55
Contents?: true
Size: 537 Bytes
Versions: 24
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true module Alula class CameraSetServerConfigProc < Alula::RpcResource class Response < Alula::RpcResponse attr_accessor :result def initialize(response) super(response) @result = response.data['data'] end end def self.call(serial_number:, should_use_s3:) request( http_method: :post, path: "/video/v1/device/#{serial_number}/svrConfig", payload: { shouldUseS3: should_use_s3 }, handler: Response ) end end end
Version data entries
24 entries across 24 versions & 1 rubygems