Class: DoiWorker
- Inherits:
-
Object
- Object
- DoiWorker
- Defined in:
- app/workers/doi_worker.rb
Instance Attribute Summary collapse
-
#generic_file_id ⇒ Object
Returns the value of attribute generic_file_id.
Instance Method Summary collapse
-
#initialize(generic_file_id) ⇒ DoiWorker
constructor
A new instance of DoiWorker.
- #queue_name ⇒ Object
- #run ⇒ Object
Constructor Details
#initialize(generic_file_id) ⇒ DoiWorker
Returns a new instance of DoiWorker.
8 9 10 |
# File 'app/workers/doi_worker.rb', line 8 def initialize(generic_file_id) self.generic_file_id = generic_file_id end |
Instance Attribute Details
#generic_file_id ⇒ Object
Returns the value of attribute generic_file_id.
6 7 8 |
# File 'app/workers/doi_worker.rb', line 6 def generic_file_id @generic_file_id end |