class Leafy::Instrumented::Instrumented
Constants
- BAD_REQUEST
- CREATED
- NOT_FOUND
- NO_CONTENT
- OK
- RESET_CONTENT
- SERVER_ERROR
Public Class Methods
new( registry, name )
click to toggle source
Calls superclass method
Leafy::Instrumented::BasicInstrumented::new
# File leafy-rack/lib/leafy/instrumented/instrumented.rb, line 15 def initialize( registry, name ) super( registry, name, { OK => "#{NAME_PREFIX}.ok", CREATED => "#{NAME_PREFIX}.created", NO_CONTENT => "#{NAME_PREFIX}.noContent", RESET_CONTENT => "#{NAME_PREFIX}.resetContent", BAD_REQUEST => "#{NAME_PREFIX}.badRequest", NOT_FOUND => "#{NAME_PREFIX}.notFound", SERVER_ERROR => "#{NAME_PREFIX}.serverError" } ) end