Class: GraphQL::Client::ResponseConnection
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- GraphQL::Client::ResponseConnection
- Extended by:
- Forwardable
- Includes:
- Enumerable
- Defined in:
- lib/graphql_client/response_connection.rb
Instance Attribute Summary
Attributes inherited from ResponseObject
Instance Method Summary collapse
Methods inherited from ResponseObject
Constructor Details
This class inherits a constructor from GraphQL::Client::ResponseObject
Instance Method Details
#each ⇒ Object
12 13 14 15 |
# File 'lib/graphql_client/response_connection.rb', line 12 def each return enum_for(:each) unless block_given? edges.each { |edge| yield edge.node } end |