Sha256: 724ab3dbf46b105c0f2180e4198ee9ac4a9c90c21356c86a4d2b83aee382405a
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
# frozen_string_literal: true require_relative 'wizrb/version' require_relative 'wizrb/shared/connection' require_relative 'wizrb/shared/discover' require_relative 'wizrb/shared/group' require_relative 'wizrb/shared/state' require_relative 'wizrb/lighting' require_relative 'wizrb/lighting/discover' require_relative 'wizrb/lighting/group' require_relative 'wizrb/lighting/state' require_relative 'wizrb/power/discover' require_relative 'wizrb/power/group' Dir["#{File.dirname(__FILE__)}/wizrb/shared/products/*.rb"].sort.each { |file| require file } Dir["#{File.dirname(__FILE__)}/wizrb/shared/events/*.rb"].sort.each { |file| require file } Dir["#{File.dirname(__FILE__)}/wizrb/lighting/products/*.rb"].sort.each { |file| require file } Dir["#{File.dirname(__FILE__)}/wizrb/lighting/events/*.rb"].sort.each { |file| require file } Dir["#{File.dirname(__FILE__)}/wizrb/lighting/scenes/*.rb"].sort.each { |file| require file } Dir["#{File.dirname(__FILE__)}/wizrb/power/products/*.rb"].sort.each { |file| require file } module Wizrb class Error < StandardError; end class ConnectionError < Wizrb::Error; end class ConnectionTimeoutError < Wizrb::ConnectionError def initialize(msg = 'Connection timeout waiting for response.') super end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wizrb-1.1.2 | lib/wizrb.rb |