Class: Steve::Job::FakeQueuedJob

Inherits:
Object
  • Object
show all
Defined in:
lib/steve/job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ FakeQueuedJob

Returns a new instance of FakeQueuedJob.



37
38
39
# File 'lib/steve/job.rb', line 37

def initialize(params)
  @params = params
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*_) ⇒ Object



41
42
43
# File 'lib/steve/job.rb', line 41

def method_missing(*_)
  true
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



36
37
38
# File 'lib/steve/job.rb', line 36

def params
  @params
end