Class: QPush::Jobs::QueueDelayed

Inherits:
Object
  • Object
show all
Defined in:
lib/qpush/jobs/queue_delayed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options)
  options.each { |key, value| send("#{key}=", value) }
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/qpush/jobs/queue_delayed.rb', line 4

def id
  @id
end

#scoreObject

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

#callObject



10
11
12
# File 'lib/qpush/jobs/queue_delayed.rb', line 10

def call
  'hello'
end