Class: Duodealer::AfterAuthenticateJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Duodealer::AfterAuthenticateJob
- Defined in:
- lib/generators/duodealer_app/add_after_authenticate_job/templates/after_authenticate_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(account_domain:) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/generators/duodealer_app/add_after_authenticate_job/templates/after_authenticate_job.rb', line 3 def perform(account_domain:) shop = Shop.find_by(duodealer_domain: account_domain) shop.with_duodealer_session do end end |