Class: Datadog::AppSec::Contrib::Sinatra::Gateway::RouteParams

Inherits:
Instrumentation::Gateway::Argument show all
Defined in:
lib/datadog/appsec/contrib/sinatra/gateway/route_params.rb

Overview

Gateway Route Params argument.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#paramsObject (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