Class: RDSBackup::DelayedJob
- Inherits:
-
Struct
- Object
- Struct
- RDSBackup::DelayedJob
- Defined in:
- lib/rds_backup_service/model/delayed_job.rb
Overview
convenience wrapper class for DelayedJob. Parameters are the same as for RDSBackup::Job.initialize()
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#rds_id ⇒ Object
Returns the value of attribute rds_id.
Instance Method Summary collapse
-
#perform ⇒ Object
Entry point for the DelayedJob framework.
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options
4 5 6 |
# File 'lib/rds_backup_service/model/delayed_job.rb', line 4 def @options end |
#rds_id ⇒ Object
Returns the value of attribute rds_id
4 5 6 |
# File 'lib/rds_backup_service/model/delayed_job.rb', line 4 def rds_id @rds_id end |
Instance Method Details
#perform ⇒ Object
Entry point for the DelayedJob framework.
6 7 8 |
# File 'lib/rds_backup_service/model/delayed_job.rb', line 6 def perform RDSBackup::Job.new(rds_id, ).perform_backup end |