Class: Appstats::BadTestQuery
- Inherits:
-
Object
- Object
- Appstats::BadTestQuery
- Defined in:
- lib/appstats/test_query.rb
Instance Attribute Summary collapse
-
#group_query_to_sql ⇒ Object
Returns the value of attribute group_query_to_sql.
-
#query ⇒ Object
Returns the value of attribute query.
-
#query_to_sql ⇒ Object
Returns the value of attribute query_to_sql.
Instance Method Summary collapse
Instance Attribute Details
#group_query_to_sql ⇒ Object
Returns the value of attribute group_query_to_sql.
25 26 27 |
# File 'lib/appstats/test_query.rb', line 25 def group_query_to_sql @group_query_to_sql end |
#query ⇒ Object
Returns the value of attribute query.
25 26 27 |
# File 'lib/appstats/test_query.rb', line 25 def query @query end |
#query_to_sql ⇒ Object
Returns the value of attribute query_to_sql.
25 26 27 |
# File 'lib/appstats/test_query.rb', line 25 def query_to_sql @query_to_sql end |
Instance Method Details
#db_connection ⇒ Object
31 32 33 |
# File 'lib/appstats/test_query.rb', line 31 def db_connection Appstats.connection end |
#process_query ⇒ Object
27 28 29 |
# File 'lib/appstats/test_query.rb', line 27 def process_query query.query_to_sql = "this is not valid sql" end |