graphql-client 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/client/query_result.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59834ac384d82f4161d11e1f8a98ca9826ad07bc
|
4
|
+
data.tar.gz: de1fe39d99ad9ac745b8dd024c034d8796d6cf68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04b996e04220b4aaa6cb2b1f3ce6c0dba9216baf83ce15a25da9056be3c6167a2d324816521a5e292a7593af15f5b2235458a70fadb50ab1a154b5307c0da0ef
|
7
|
+
data.tar.gz: 7064b14a143ef28fba2f05aa24b6fb6b632383c215b050c84a3f9017738c6f9b3ab08645e7a8cf9fada8fe21b46d338cfeac73759d1da94137d998cce8c3e3ee
|
@@ -235,7 +235,7 @@ module GraphQL
|
|
235
235
|
|
236
236
|
def type_of?(type)
|
237
237
|
if type = self.class.schema.types.fetch(type.to_s, nil)
|
238
|
-
self.class.schema.possible_types(type).any? { |t| __typename == t.name }
|
238
|
+
self.class.schema.possible_types(type).any? { |t| @__typename == t.name }
|
239
239
|
else
|
240
240
|
false
|
241
241
|
end
|