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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae132470358096d77622e8c7a485889ccf7eb9093b4428b34ee95ad045967c56
4
- data.tar.gz: d2d0736689398acb54333d0f98c10bcbf396d94c38e6381e12e073a598e63c13
3
+ metadata.gz: eac6453b9d4446cac628e88f0e1213d2945a4725476e5645d73a09d168621b54
4
+ data.tar.gz: 07f62d9280d4af2cd1013b8bced82498ccfbf984e8f391516bfc074565c9700b
5
5
  SHA512:
6
- metadata.gz: f4c0cfbb813eab030f3b73d5820da198cb6afb934dd03d0e2169625d528db3417b6e3cd97a52276a3810bd9967b59397670f4aa815f5d927fbef152cc77fc724
7
- data.tar.gz: f62c22fa6e9d3e75b3539a444861968fa570c0b550ef9389c5bdf204f5a1bf32e2a68f38053841acedc206ce50d5ff8bc280777278ac634d00e4f59454aca011
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
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = "0.1.42.9"
2
+ VERSION = "0.1.42.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.42.9
4
+ version: 0.1.42.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng