Class: GraphQL::Client::List
- Inherits:
-
Array
- Object
- Array
- GraphQL::Client::List
- Defined in:
- lib/graphql/client/list.rb
Overview
Public: Array wrapper for value returned from GraphQL List.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Public: Return errors associated with list of data.
Instance Method Summary collapse
-
#initialize(values, errors = Errors.new) ⇒ List
constructor
A new instance of List.
Constructor Details
Instance Attribute Details
#errors ⇒ Object (readonly)
Public: Return errors associated with list of data.
Returns Errors collection.
17 18 19 |
# File 'lib/graphql/client/list.rb', line 17 def errors @errors end |