Class: VagrantPlugins::Openstack::Session

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/vagrant-openstack-provider/client/openstack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSession

Returns a new instance of Session.



18
19
20
21
22
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 18

def initialize
  @token = nil
  @project_id = nil
  @endpoints = {}
end

Instance Attribute Details

#endpointsObject

Returns the value of attribute endpoints.



16
17
18
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 16

def endpoints
  @endpoints
end

#project_idObject

Returns the value of attribute project_id.



15
16
17
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 15

def project_id
  @project_id
end

#tokenObject

Returns the value of attribute token.



14
15
16
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 14

def token
  @token
end

Instance Method Details

#resetObject



24
25
26
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 24

def reset
  initialize
end