Method: Fog::KeyManager::OpenStack::Real#initialize
- Defined in:
- lib/fog/key_manager/openstack.rb
#initialize(options = {}) ⇒ Real
Returns a new instance of Real.
99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/fog/key_manager/openstack.rb', line 99 def initialize( = {}) initialize_identity @openstack_service_type = [:openstack_service_type] || ['key-manager'] @openstack_service_name = [:openstack_service_name] @connection_options = [:connection_options] || {} authenticate set_api_path @persistent = [:persistent] || false @connection = Fog::Core::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options) end |