Class: ShopifyApp::Generators::RotateShopifyTokenJobGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/shopify_app/rotate_shopify_token_job/rotate_shopify_token_job_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_rotate_shopify_token_jobObject



10
11
12
13
# File 'lib/generators/shopify_app/rotate_shopify_token_job/rotate_shopify_token_job_generator.rb', line 10

def add_rotate_shopify_token_job
  copy_file('rotate_shopify_token_job.rb', "app/jobs/shopify/rotate_shopify_token_job.rb")
  copy_file('rotate_shopify_token.rake', "lib/tasks/shopify/rotate_shopify_token.rake")
end