Class: GraphQL::Syntax::Call
- Inherits:
-
Object
- Object
- GraphQL::Syntax::Call
- Defined in:
- lib/graphql/syntax/call.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
Instance Method Summary collapse
-
#initialize(identifier:, arguments: nil, calls: []) ⇒ Call
constructor
A new instance of Call.
Constructor Details
#initialize(identifier:, arguments: nil, calls: []) ⇒ Call
Returns a new instance of Call.
3 4 5 6 7 |
# File 'lib/graphql/syntax/call.rb', line 3 def initialize(identifier:, arguments: nil, calls: []) @identifier = identifier @arguments = arguments @calls = calls end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
2 3 4 |
# File 'lib/graphql/syntax/call.rb', line 2 def arguments @arguments end |
#calls ⇒ Object (readonly)
Returns the value of attribute calls.
2 3 4 |
# File 'lib/graphql/syntax/call.rb', line 2 def calls @calls end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
2 3 4 |
# File 'lib/graphql/syntax/call.rb', line 2 def identifier @identifier end |