Class: VagrantPlugins::Openstack::Session
- Inherits:
-
Object
- Object
- VagrantPlugins::Openstack::Session
- Includes:
- Singleton
- Defined in:
- lib/vagrant-openstack-provider/client/openstack.rb
Instance Attribute Summary collapse
-
#endpoints ⇒ Object
Returns the value of attribute endpoints.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Session
constructor
A new instance of Session.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ Session
Returns a new instance of Session.
20 21 22 23 24 |
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 20 def initialize @token = nil @project_id = nil @endpoints = {} end |
Instance Attribute Details
#endpoints ⇒ Object
Returns the value of attribute endpoints.
18 19 20 |
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 18 def endpoints @endpoints end |
#project_id ⇒ Object
Returns the value of attribute project_id.
17 18 19 |
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 17 def project_id @project_id end |
#token ⇒ Object
Returns the value of attribute token.
16 17 18 |
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 16 def token @token end |
Instance Method Details
#reset ⇒ Object
26 27 28 |
# File 'lib/vagrant-openstack-provider/client/openstack.rb', line 26 def reset initialize end |