Class: Datadog::AppSec::Contrib::Sinatra::Gateway::RouteParams
- Inherits:
-
Instrumentation::Gateway::Argument
- Object
- Instrumentation::Gateway::Argument
- Datadog::AppSec::Contrib::Sinatra::Gateway::RouteParams
- Defined in:
- lib/datadog/appsec/contrib/sinatra/gateway/route_params.rb
Overview
Gateway Route Params argument.
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ RouteParams
constructor
A new instance of RouteParams.
Constructor Details
#initialize(params) ⇒ RouteParams
Returns a new instance of RouteParams.
14 15 16 17 |
# File 'lib/datadog/appsec/contrib/sinatra/gateway/route_params.rb', line 14 def initialize(params) super() @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
12 13 14 |
# File 'lib/datadog/appsec/contrib/sinatra/gateway/route_params.rb', line 12 def params @params end |