Sha256: c32cb6f1cf8f3592dfb6460df358fa9793944609d1710cab1dfca194ef311320
Contents?: true
Size: 579 Bytes
Versions: 2
Compression:
Stored size: 579 Bytes
Contents
require 'evrythng/client' require 'evrythng/config' module Evrythng extend Config class << self # Alias for Evrythng::Client.new # # @return [Evrythng::Client] def new(options = {}) Evrythng::Client.new(options) end # Delegate to Evrythng::Client def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
evrythng-0.1.1 | lib/evrythng.rb |
evrythng-0.1.0 | lib/evrythng.rb |