lib/kakine/config.rb in kakine-0.6.5 vs lib/kakine/config.rb in kakine-0.7.0

- old
+ new

@@ -1,11 +1,11 @@ require 'yao' require 'yaml' module Kakine class Config - OS_PARAMS = %w[auth_url username password] + OS_PARAMS = %w[auth_url username password identity_api_version user_domain_name project_domain_name] @@config = {} def self.setup load_config @@ -42,16 +42,19 @@ end end def self.setup_yao Yao.configure do - auth_url @@config['auth_url'] - tenant_name Kakine::Option.tenant_name - username @@config['username'] - password @@config['password'] - client_cert @@config['client_cert'] - client_key @@config['client_key'] - region_name @@config['region_name'] + auth_url @@config['auth_url'] + tenant_name Kakine::Option.tenant_name + username @@config['username'] + password @@config['password'] + client_cert @@config['client_cert'] + client_key @@config['client_key'] + region_name @@config['region_name'] + identity_api_version @@config['identity_api_version'] + user_domain_name @@config['user_domain_name'] + project_domain_name @@config['project_domain_name'] end end end end