Sha256: 075e4d0ff601215a97c89aedcea3f73219845b7da9c4e71411ffe87fd1322256

Contents?: true

Size: 191 Bytes

Versions: 1

Compression:

Stored size: 191 Bytes

Contents

# frozen_string_literal: true

module Switchbot
  class Lock < Device
    def lock
      commands(command: 'lock')
    end

    def unlock
      commands(command: 'unlock')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchbot-0.7.0 lib/switchbot/lock.rb