istox 0.1.42.9 → 0.1.42.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/istox/helpers/graphql_client.rb +8 -0
- data/lib/istox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eac6453b9d4446cac628e88f0e1213d2945a4725476e5645d73a09d168621b54
|
4
|
+
data.tar.gz: 07f62d9280d4af2cd1013b8bced82498ccfbf984e8f391516bfc074565c9700b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4a873328f0c7219e8523035d77984d8bce19781bc8f214edca058fc69916939c6705c5e8281f16b959cfd4d72881235c7c318c72d698456d48d7ea71798799
|
7
|
+
data.tar.gz: b75ec67c73a52a8733cb3f36cf51e23394f27c6fdccea4c4b3abb7d0079f6372a94470c9342ff47f194a85035cfc9428b4ee7892ffbfd13dd669d53ba70df383
|
@@ -18,6 +18,14 @@ module Istox
|
|
18
18
|
|
19
19
|
result = client.query(query, variables: variables)
|
20
20
|
end
|
21
|
+
|
22
|
+
def parse(host_type, query)
|
23
|
+
client = @@hosts[host_type]
|
24
|
+
|
25
|
+
raise "Please make sure you have initialised graphql cient for host #{host_type}" if !client
|
26
|
+
|
27
|
+
return client.parse(query)
|
28
|
+
end
|
21
29
|
|
22
30
|
private
|
23
31
|
|
data/lib/istox/version.rb
CHANGED