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