module ShopifySalesChannel::Integrations
Public Class Methods
included(sub_klass)
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 2 def self.included(sub_klass) sub_klass.extend ShopifySalesChannel::Integrations::Shopify end
Public Instance Methods
add_tag_to_order()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 35 def add_tag_to_order return self.class.add_tag_to_order(self, self.order_no, self.data["tag"]) end
check_products()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 27 def check_products return self.class.check_products(self, self.data["orders"]) end
count_products()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 22 def count_products return self.class.count_products(self) end
get_access_token()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 6 def get_access_token return self.class.get_access_token(code, url) end
get_order()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 31 def get_order return self.class.get_order(self, self.order_no) end
get_store_details()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 10 def get_store_details return self.class.get_store_details(access_token, url) end
set_webhooks()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 14 def set_webhooks return self.class.get_store_details(self) end
sync_orders()
click to toggle source
# File lib/shopify_sales_channel/integrations.rb, line 18 def sync_orders return self.class.sync_orders(self, self.data["orders"], self.data["country"]) end