Class: DataObjects::Extension

Inherits:
Object
  • Object
show all
Defined in:
lib/data_objects/extension.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ Extension

Returns a new instance of Extension.



6
7
8
# File 'lib/data_objects/extension.rb', line 6

def initialize(connection)
  @connection = connection
end

Instance Attribute Details

#connectionObject (readonly)

Returns the value of attribute connection.



4
5
6
# File 'lib/data_objects/extension.rb', line 4

def connection
  @connection
end