Method: GraphQL::Query::Result#to_h

Defined in:
lib/graphql/query/result.rb

#to_hHash (readonly)

Returns The resulting hash of "data" and/or "errors".

Returns:

  • (Hash)

    The resulting hash of "data" and/or "errors"



20
21
22
# File 'lib/graphql/query/result.rb', line 20

def to_h
  @to_h
end