shopify_oracle 0.2.0 → 0.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f4c790f249f6c16e7670f0e7468694a2e907c33c0d9b70bb30f916bb3544f30
|
4
|
+
data.tar.gz: '08263d09fcfc8c234444a5fbf3d4bf2f6656cdf68dbc6305ba3a1d0a666fdc09'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c05012f4ede04f35ab77a2bad3ae683885919c5bc81dd1d214af4f4c88b3f539a97b02124e02b9cfd1ed2ca382fd08e154403b6f693b5ab2db578fd8ad80140
|
7
|
+
data.tar.gz: 949d77618062b6bbf438535e73ef3e76e65c5795f905682cee522336914ad81fa936ecb57df6809ab5195890c4b23c7f90e0af2ba6493e96efd3695026c8f1ad
|
@@ -3,9 +3,9 @@
|
|
3
3
|
module ShopifyOracle
|
4
4
|
module Connector
|
5
5
|
class Mutater < Base
|
6
|
-
def mutate(method,
|
6
|
+
def mutate(method, variables:)
|
7
7
|
mutation = ShopifyOracle::Mutations.const_get("#{method.to_s.upcase}_MUTATION".to_sym)
|
8
|
-
@client.query(query: mutation, variables:
|
8
|
+
@client.query(query: mutation, variables:)
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
module ShopifyOracle
|
4
4
|
module Connector
|
5
5
|
class Querier < Base
|
6
|
-
def query(method,
|
6
|
+
def query(method, variables:)
|
7
7
|
query = ShopifyOracle::Queries.const_get("#{method.to_s.upcase}_QUERY".to_sym)
|
8
|
-
@client.query(query:, variables:
|
8
|
+
@client.query(query:, variables:)
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|