Module: Tableless::Connection::ClassMethods

Defined in:
lib/tableless/connection.rb

Instance Method Summary collapse

Instance Method Details

#attribute_namesObject



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

def attribute_names
  @attribute_names ||= attribute_types.keys
end

#connectionObject



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

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

#connection_poolObject



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

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