Module: Celerbrake::Rails::CurlEasy
- Defined in:
- lib/celerbrake/rails/curb.rb
Overview
Allows measuring request timing.
Instance Method Summary collapse
Instance Method Details
#http(verb) ⇒ Object
7 8 9 10 11 |
# File 'lib/celerbrake/rails/curb.rb', line 7 def http(verb) Celerbrake::Rack.capture_timing(:http) do super(verb) end end |
#perform(&block) ⇒ Object
13 14 15 16 17 |
# File 'lib/celerbrake/rails/curb.rb', line 13 def perform(&block) Celerbrake::Rack.capture_timing(:http) do super(&block) end end |