We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd8a83e commit bad9301Copy full SHA for bad9301
1 file changed
lib/shopify_api/graphql/bulk.rb
@@ -32,6 +32,9 @@ def new(shop, token, options = nil)
32
33
class Executor # :nodoc:
34
def initialize(shop, token, options)
35
+ raise ArgumentError, "shop required" if shop.to_s.strip.empty?
36
+ raise ArgumentError, "token required" if token.to_s.strip.empty?
37
+
38
@gid = TinyGID.new("shopify")
39
40
@create = Bulk::Create.new(shop, token, options)
0 commit comments