Class: GraphQL::Call
- Inherits:
-
Object
- Object
- GraphQL::Call
- Defined in:
- lib/graphql/call.rb
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.
3 4 5 6 |
# File 'lib/graphql/call.rb', line 3 def initialize(name:, lambda:) @name = name @lambda = lambda end |
Instance Attribute Details
#lambda ⇒ Object (readonly)
Returns the value of attribute lambda.
2 3 4 |
# File 'lib/graphql/call.rb', line 2 def lambda @lambda end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/graphql/call.rb', line 2 def name @name end |