Sha256: 55960a468b78cf827367472eeb56fa0f8af8d3deea71f69174ebefca626453e3
Contents?: true
Size: 560 Bytes
Versions: 2
Compression:
Stored size: 560 Bytes
Contents
require File.expand_path('../connection', __FILE__) require File.expand_path('../request', __FILE__) require File.expand_path('../authentication', __FILE__) module Thounds # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = Thounds.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thounds-0.0.2 | lib/thounds/api.rb |
thounds-0.0.1 | lib/thounds/api.rb |