Sha256: 66efd813a4aa3e3b9e0708db5d407c4d5ba6e5f41515ca450e5768af76d58cef
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
require 'commons/connection' require 'commons/request' require 'commons/client/content' module Commons class Client attr_accessor(*Configuration::VALID_OPTIONS_KEYS) def initialize(options={}) options = Commons.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Commons::Connection include Commons::Request include Commons::Client::Content end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
commons-0.0.3 | lib/commons/client.rb |
commons-0.0.2 | lib/commons/client.rb |
commons-0.0.1 | lib/commons/client.rb |