lib/timber/events/http_server_response.rb in timber-1.1.8 vs lib/timber/events/http_server_response.rb in timber-1.1.9
- old
+ new
@@ -2,10 +2,10 @@
module Events
# The HTTP response event tracks outgoing HTTP request responses.
#
# @note This event should be installed automatically through probes,
# such as the {Probes::ActionControllerLogSubscriber} probe.
- class HTTPResponse < Timber::Event
+ class HTTPServerResponse < Timber::Event
attr_reader :status, :time_ms, :additions
def initialize(attributes)
@status = attributes[:status] || raise(ArgumentError.new(":status is required"))
@time_ms = attributes[:time_ms] || raise(ArgumentError.new(":time_ms is required"))
\ No newline at end of file