Class: QPush::Jobs::QueueDelayed
- Inherits:
-
Object
- Object
- QPush::Jobs::QueueDelayed
- Defined in:
- lib/qpush/jobs/queue_delayed.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#score ⇒ Object
Returns the value of attribute score.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options) ⇒ QueueDelayed
constructor
A new instance of QueueDelayed.
Constructor Details
#initialize(options) ⇒ QueueDelayed
Returns a new instance of QueueDelayed.
6 7 8 |
# File 'lib/qpush/jobs/queue_delayed.rb', line 6 def initialize() .each { |key, value| send("#{key}=", value) } end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/qpush/jobs/queue_delayed.rb', line 4 def id @id end |
#score ⇒ Object
Returns the value of attribute score.
4 5 6 |
# File 'lib/qpush/jobs/queue_delayed.rb', line 4 def score @score end |
Instance Method Details
#call ⇒ Object
10 11 12 |
# File 'lib/qpush/jobs/queue_delayed.rb', line 10 def call 'hello' end |