Class: ShopifyApp::Generators::AddPrivacyJobsGenerator

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

Instance Method Summary collapse

Instance Method Details

#add_customer_data_request_jobObject



10
11
12
# File 'lib/generators/shopify_app/add_privacy_jobs/add_privacy_jobs_generator.rb', line 10

def add_customer_data_request_job
  template("customers_data_request_job.rb", "app/jobs/customers_data_request_job.rb")
end

#add_customer_redact_jobObject



18
19
20
# File 'lib/generators/shopify_app/add_privacy_jobs/add_privacy_jobs_generator.rb', line 18

def add_customer_redact_job
  template("customers_redact_job.rb", "app/jobs/customers_redact_job.rb")
end

#add_shop_redact_jobObject



14
15
16
# File 'lib/generators/shopify_app/add_privacy_jobs/add_privacy_jobs_generator.rb', line 14

def add_shop_redact_job
  template("shop_redact_job.rb", "app/jobs/shop_redact_job.rb")
end