Class: DiscoApp::ShopJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/disco_app/shop_job.rb

Overview

The base class for all jobs that should be performed in the context of a particular Shop’s API session. The first argument to any job inheriting from this class must be the domain of the relevant store, so that the appropriate Shop model can be fetched and the temporary API session created.