Class: Appstats::InvalidTestQuery
- Inherits:
-
Object
- Object
- Appstats::InvalidTestQuery
- Defined in:
- lib/appstats/test_query.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
66 67 68 |
# File 'lib/appstats/test_query.rb', line 66 def query @query end |
Instance Method Details
#db_connection ⇒ Object
74 75 76 |
# File 'lib/appstats/test_query.rb', line 74 def db_connection Appstats.connection end |
#process_query ⇒ Object
68 69 70 71 |
# File 'lib/appstats/test_query.rb', line 68 def process_query query.query_to_sql = "select * from appstats_test_objects" query.group_query_to_sql = "select * from appstats_test_objects" end |