Class: Appsignal::EventFormatter::Rom::SqlFormatter Private
- Defined in:
- lib/appsignal/event_formatter/rom/sql_formatter.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #format(payload) ⇒ Object private
Instance Method Details
#format(payload) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/appsignal/event_formatter/rom/sql_formatter.rb', line 8 def format(payload) ["query.#{payload[:name]}", payload[:query], SQL_BODY_FORMAT] end |