Method: ConohaApi::Client#initialize
- Defined in:
- lib/conoha_api/client.rb
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
21 22 23 24 25 26 |
# File 'lib/conoha_api/client.rb', line 21 def initialize( = {}) Configurable.keys.each do |key| instance_variable_set(:"@#{key}", [key] || ConohaApi.instance_variable_get(:"@#{key}")) end credential end |