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
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.
66 67 68 69 |
# File 'lib/graphql/schema/timeout_middleware.rb', line 66 def initialize(query, ctx) @context = ctx super(query) end |
Instance Attribute Details
#context ⇒ Object (readonly)
71 72 73 |
# File 'lib/graphql/schema/timeout_middleware.rb', line 71 def context @context end |