Sha256: 5b699e199458b54c3f4e297b0351e3563e14e733751c51cce0fc54bd4b6608de
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
require 'evrythng/connection' require 'evrythng/request' require 'evrythng/authentication' module Evrythng # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = Evrythng.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Connection include Request include Authentication end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
evrythng-0.0.3 | lib/evrythng/api.rb |
evrythng-0.0.2 | lib/evrythng/api.rb |
evrythng-0.0.1 | lib/evrythng/api.rb |