Module: Tableless::Connection::ClassMethods

Defined in:
lib/tableless/connection.rb

Instance Method Summary collapse

Instance Method Details

#attribute_namesObject



14
15
16
# File 'lib/tableless/connection.rb', line 14

def attribute_names
  @attribute_names ||= attribute_types.keys
end

#connectionObject



10
11
12
# File 'lib/tableless/connection.rb', line 10

def connection
  @connection ||= Tableless::DummyAdapter.new(nil)
end

#connection_poolObject



18
19
20
# File 'lib/tableless/connection.rb', line 18

def connection_pool(*)
  @connection_pool ||= Tableless::DummyAdapter.new(nil)
end