Class: GraphQL::Syntax::Call

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/syntax/call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argumentsObject (readonly)

Returns the value of attribute arguments.



2
3
4
# File 'lib/graphql/syntax/call.rb', line 2

def arguments
  @arguments
end

#callsObject (readonly)

Returns the value of attribute calls.



2
3
4
# File 'lib/graphql/syntax/call.rb', line 2

def calls
  @calls
end

#identifierObject (readonly)

Returns the value of attribute identifier.



2
3
4
# File 'lib/graphql/syntax/call.rb', line 2

def identifier
  @identifier
end