Class: GraphQL::Schema::TimeoutMiddleware::TimeoutQueryProxy
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- GraphQL::Schema::TimeoutMiddleware::TimeoutQueryProxy
- Defined in:
- lib/graphql/schema/timeout_middleware.rb
Overview
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(query, ctx) ⇒ TimeoutQueryProxy
constructor
A new instance of TimeoutQueryProxy.
Constructor Details
#initialize(query, ctx) ⇒ TimeoutQueryProxy
Returns a new instance of TimeoutQueryProxy.
63 64 65 66 |
# File 'lib/graphql/schema/timeout_middleware.rb', line 63 def initialize(query, ctx) @context = ctx super(query) end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
68 69 70 |
# File 'lib/graphql/schema/timeout_middleware.rb', line 68 def context @context end |