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.
64 65 66 67 |
# File 'lib/graphql/schema/timeout_middleware.rb', line 64 def initialize(query, ctx) @context = ctx super(query) end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
69 70 71 |
# File 'lib/graphql/schema/timeout_middleware.rb', line 69 def context @context end |