Exception: ResumableJob::ResumeLater
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ResumableJob::ResumeLater
- Defined in:
- lib/resumable_job/resume_later.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
-
#utc ⇒ Object
Returns the value of attribute utc.
Instance Method Summary collapse
-
#initialize(state: {}, utc: nil, message:) ⇒ ResumeLater
constructor
A new instance of ResumeLater.
Constructor Details
#initialize(state: {}, utc: nil, message:) ⇒ ResumeLater
Returns a new instance of ResumeLater.
3 4 5 6 7 8 |
# File 'lib/resumable_job/resume_later.rb', line 3 def initialize(state: {}, utc: nil, message:) self.state = state || {} self.utc = utc super end |
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state.
10 11 12 |
# File 'lib/resumable_job/resume_later.rb', line 10 def state @state end |
#utc ⇒ Object
Returns the value of attribute utc.
10 11 12 |
# File 'lib/resumable_job/resume_later.rb', line 10 def utc @utc end |