Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store tenant info #213

Closed
rssluca opened this issue Feb 3, 2018 · 1 comment
Closed

Store tenant info #213

rssluca opened this issue Feb 3, 2018 · 1 comment

Comments

@rssluca
Copy link

rssluca commented Feb 3, 2018

Hi,

I am using the apartment gem and was wondering whether it would be possible to store the tenant id when creating a job.

Thanks!!

Luca

@brandonhilkert
Copy link
Owner

I think this is more of an implementation question. You can always subclass a parent job class that would define a setter or default list of arguments that are required when invoking a job, such that it's accessible from without the job code. I think this would be similar to how you would do it in another other background job processing library, not unique to sucker punch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants