Class: IntegrationPal::Worker
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- IntegrationPal::Worker
- Includes:
- ActiveModel
- Defined in:
- app/models/integration_pal/worker.rb
Instance Method Summary collapse
Instance Method Details
#generate_api_key ⇒ Object
15 16 17 |
# File 'app/models/integration_pal/worker.rb', line 15 def generate_api_key ApiAuth.generate_secret_key end |
#job_class ⇒ Object
24 25 26 |
# File 'app/models/integration_pal/worker.rb', line 24 def job_class self.job_type.constantize end |