Sha256: ee4afb755575586ed42fb3753052a8fa6014dabd0743ff494ce2fb1bd43b8444

Contents?: true

Size: 388 Bytes

Versions: 12

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

module Seam
  module Clients
    class NoiseSensorsSimulate
      def initialize(client:, defaults:)
        @client = client
        @defaults = defaults
      end

      def trigger_noise_threshold(device_id:)
        @client.post("/noise_sensors/simulate/trigger_noise_threshold", {device_id: device_id}.compact)

        nil
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
seam-2.3.0 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.2.0 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.1.0 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.1 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0rc0 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0b5 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0b4 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0b3 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0b2 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0b1 lib/seam/routes/clients/noise_sensors_simulate.rb
seam-2.0.0b0 lib/seam/routes/clients/noise_sensors_simulate.rb