Skip to content
πŸ›’ Useful interactions with Shopify
Ruby Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
.rubocop.yml
.travis.yml
.yardopts
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
shopify_util.gemspec

README.md

ShopifyUtil

Shopify API Version Build Status Inline docs

Useful interactions with Shopify.

Installation

gem 'shopify_util', '~> 0.1.0'

Configuration

# config/initializers/shopify_util.rb

ShopifyUtil.configure do |config|
  shopify_vars = Rails.application.credentials[Rails.env.to_sym][:shopify]
  config.api_key     = shopify_vars[:api_key]
  config.shop_name   = shopify_vars[:shop_name]
  config.password    = shopify_vars[:api_password]
  config.api_version = shopify_vars[:api_version]
  config.data_dir    = ActiveStorage::Blob.service.root
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tcd/shopify_util.

License

The gem is available as open source under the terms of the MIT License.

You can’t perform that action at this time.