Class: OpenStack::Image::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/openstack/image/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#connectionObject

Returns the value of attribute connection.



6
7
8
# File 'lib/openstack/image/connection.rb', line 6

def connection
  @connection
end