Class: GraphQLIncludable::Relay::ConnectionEdgesAndNodes
- Inherits:
-
Object
- Object
- GraphQLIncludable::Relay::ConnectionEdgesAndNodes
- Defined in:
- lib/graphql_includable/relay/edge_with_node_connection.rb
Instance Attribute Summary collapse
-
#edges_property ⇒ Object
readonly
Returns the value of attribute edges_property.
-
#nodes_property ⇒ Object
readonly
Returns the value of attribute nodes_property.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(parent, edges_property, nodes_property) ⇒ ConnectionEdgesAndNodes
constructor
A new instance of ConnectionEdgesAndNodes.
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_property ⇒ Object (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_property ⇒ Object (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 |
#parent ⇒ Object (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 |