Class: Datadog::AppSec::Contrib::GraphQL::Gateway::Multiplex
- Inherits:
-
Instrumentation::Gateway::Argument
- Object
- Instrumentation::Gateway::Argument
- Datadog::AppSec::Contrib::GraphQL::Gateway::Multiplex
- Defined in:
- lib/datadog/appsec/contrib/graphql/gateway/multiplex.rb
Overview
Gateway Request argument. Normalized extration of data from Rack::Request
Instance Attribute Summary collapse
-
#multiplex ⇒ Object
readonly
Returns the value of attribute multiplex.
Instance Method Summary collapse
- #arguments ⇒ Object
-
#initialize(multiplex) ⇒ Multiplex
constructor
A new instance of Multiplex.
- #queries ⇒ Object
Constructor Details
#initialize(multiplex) ⇒ Multiplex
Returns a new instance of Multiplex.
16 17 18 19 |
# File 'lib/datadog/appsec/contrib/graphql/gateway/multiplex.rb', line 16 def initialize(multiplex) super() @multiplex = multiplex end |
Instance Attribute Details
#multiplex ⇒ Object (readonly)
Returns the value of attribute multiplex.
14 15 16 |
# File 'lib/datadog/appsec/contrib/graphql/gateway/multiplex.rb', line 14 def multiplex @multiplex end |
Instance Method Details
#arguments ⇒ Object
21 22 23 |
# File 'lib/datadog/appsec/contrib/graphql/gateway/multiplex.rb', line 21 def arguments @arguments ||= build_arguments_hash end |
#queries ⇒ Object
25 26 27 |
# File 'lib/datadog/appsec/contrib/graphql/gateway/multiplex.rb', line 25 def queries @multiplex.queries end |