Sha256: 6666127722957797b0a73a87fd648785c1c4d611f9690d5f097c76a3ad39eb07
Contents?: true
Size: 621 Bytes
Versions: 12
Compression:
Stored size: 621 Bytes
Contents
# frozen_string_literal: true module Seam module Clients class DevicesSimulate def initialize(client:, defaults:) @client = client @defaults = defaults end def connect(device_id:) @client.post("/devices/simulate/connect", {device_id: device_id}.compact) nil end def disconnect(device_id:) @client.post("/devices/simulate/disconnect", {device_id: device_id}.compact) nil end def remove(device_id:) @client.post("/devices/simulate/remove", {device_id: device_id}.compact) nil end end end end
Version data entries
12 entries across 12 versions & 1 rubygems