lib/generator/lib/app.rb in shopify-sinatra-app-0.0.4 vs lib/generator/lib/app.rb in shopify-sinatra-app-0.0.5
- old
+ new
@@ -31,11 +31,9 @@
# This method gets called when your app is installed.
# setup any webhooks or services you need on Shopify
# inside here.
def install
shopify_session do
- params = YAML.load(File.read("config/app.yml"))
-
# create an uninstall webhook, this webhook gets sent
# when your app is uninstalled from a shop. It is good
# practice to clean up any data from a shop when they
# uninstall your app.
uninstall_webhook = ShopifyAPI::Webhook.new({