Class: GraphQL::Call
- Inherits:
-
Object
- Object
- GraphQL::Call
- Defined in:
- lib/graphql/call.rb
Overview
Created by Field.call, used internally by GraphQL.
Instance Attribute Summary collapse
-
#lambda ⇒ Object
readonly
Returns the value of attribute lambda.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, lambda:) ⇒ Call
constructor
A new instance of Call.
Constructor Details
#initialize(name:, lambda:) ⇒ Call
Returns a new instance of Call.
4 5 6 7 |
# File 'lib/graphql/call.rb', line 4 def initialize(name:, lambda:) @name = name @lambda = lambda end |
Instance Attribute Details
#lambda ⇒ Object (readonly)
Returns the value of attribute lambda.
3 4 5 |
# File 'lib/graphql/call.rb', line 3 def lambda @lambda end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/graphql/call.rb', line 3 def name @name end |