Class: Aws::Rails::SqsActiveJob::JobRunner
- Inherits:
-
Object
- Object
- Aws::Rails::SqsActiveJob::JobRunner
- Defined in:
- lib/aws/rails/sqs_active_job/job_runner.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(message) ⇒ JobRunner
constructor
A new instance of JobRunner.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
8 9 10 |
# File 'lib/aws/rails/sqs_active_job/job_runner.rb', line 8 def class_name @class_name end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/aws/rails/sqs_active_job/job_runner.rb', line 8 def id @id end |
Instance Method Details
#run ⇒ Object
16 17 18 |
# File 'lib/aws/rails/sqs_active_job/job_runner.rb', line 16 def run ActiveJob::Base.execute @job_data end |