Class: CloudAlly::API
- Inherits:
-
Object
- Object
- CloudAlly::API
- Includes:
- Authentication, WrAPI::Authentication, WrAPI::Connection, WrAPI::Request
- Defined in:
- lib/cloudally/api.rb
Direct Known Subclasses
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Authentication
#auth, #auth_partner, #auth_refresh
Constructor Details
Instance Method Details
#config ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/cloudally/api.rb', line 18 def config conf = {} Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end |