Class: OpenStack::Image::Connection
- Inherits:
-
Object
- Object
- OpenStack::Image::Connection
- Defined in:
- lib/openstack/image/connection.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(connection) ⇒ Connection
Returns a new instance of Connection.
8 9 10 11 |
# File 'lib/openstack/image/connection.rb', line 8 def initialize(connection) @connection = connection OpenStack::Authentication.init(@connection) end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
6 7 8 |
# File 'lib/openstack/image/connection.rb', line 6 def connection @connection end |