Class: UnloadedQuery

Inherits:
Object
  • Object
show all
Defined in:
lib/appstats/test_unloaded_query.rb

Overview

Do not explicitly load this file - it will be done in a test

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#queryObject

Returns the value of attribute query.



4
5
6
# File 'lib/appstats/test_unloaded_query.rb', line 4

def query
  @query
end

Instance Method Details

#db_connectionObject



6
7
8
# File 'lib/appstats/test_unloaded_query.rb', line 6

def db_connection
  Appstats.connection
end

#process_queryObject



5
# File 'lib/appstats/test_unloaded_query.rb', line 5

def process_query; end