Class: GraphQLIncludable::Relay::ConnectionEdgesAndNodes

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql_includable/relay/edge_with_node_connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent, edges_property, nodes_property) ⇒ ConnectionEdgesAndNodes

Returns a new instance of ConnectionEdgesAndNodes.



6
7
8
9
10
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 6

def initialize(parent, edges_property, nodes_property)
  @parent = parent
  @edges_property = edges_property
  @nodes_property = nodes_property
end

Instance Attribute Details

#edges_propertyObject (readonly)

Returns the value of attribute edges_property.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def edges_property
  @edges_property
end

#nodes_propertyObject (readonly)

Returns the value of attribute nodes_property.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def nodes_property
  @nodes_property
end

#parentObject (readonly)

Returns the value of attribute parent.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def parent
  @parent
end