Sha256: 73c6751887d2700931afd9754d400d9987c23a504fba9a165861da5a5f792e16
Contents?: true
Size: 276 Bytes
Versions: 1
Compression:
Stored size: 276 Bytes
Contents
# frozen_string_literal: true module Switchbot class Device attr_reader :client, :device_id def initialize(client:, device_id:) @client = client @device_id = device_id end def status client.status(device_id: device_id) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
switchbot-0.2.0 | lib/switchbot/device.rb |