module ShopifySalesChannel

Constants

VERSION

Public Class Methods

configure(&param) click to toggle source
# File lib/shopify_sales_channel.rb, line 33
def self.configure(&param)
  ShopifySalesChannel::Store.new.tap(&param)
end

Public Instance Methods

initialize_sales_channel() click to toggle source
# File lib/shopify_sales_channel.rb, line 7
def initialize_sales_channel
  attr_accessor :url, :access_token, :code
  self.class_eval do
    def initialize_store(&param)
      ShopifySalesChannel::Store.new.tap(&param)
    end
  end
end
initialize_store(&param) click to toggle source
# File lib/shopify_sales_channel.rb, line 10
def initialize_store(&param)
  ShopifySalesChannel::Store.new.tap(&param)
end