Sha256: 1a9b60d74d78d5e6dc87234655bd834d0b8cee395e2bb2dd0b1c5b0a80cf79ea
Contents?: true
Size: 729 Bytes
Versions: 4
Compression:
Stored size: 729 Bytes
Contents
require File.expand_path('connection', __dir__) require File.expand_path('request', __dir__) require File.expand_path('authentication', __dir__) module CloudAlly # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options = {}) options = CloudAlly.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end def config conf = {} Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end include Connection include Request include Authentication end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cloudally-0.2.0 | lib/cloudally/api.rb |
cloudally-0.1.3 | lib/cloudally/api.rb |
cloudally-0.1.2 | lib/cloudally/api.rb |
cloudally-0.1.1 | lib/cloudally/api.rb |