Class: PostHog::NoopWorker

Inherits:
Object
  • Object
show all
Defined in:
lib/posthog/noop_worker.rb

Instance Method Summary collapse

Constructor Details

#initialize(queue) ⇒ NoopWorker

Returns a new instance of NoopWorker.



4
5
6
# File 'lib/posthog/noop_worker.rb', line 4

def initialize(queue)
  @queue = queue
end

Instance Method Details

#is_requesting?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/posthog/noop_worker.rb', line 12

def is_requesting?
  false
end

#runObject



8
9
10
# File 'lib/posthog/noop_worker.rb', line 8

def run
  # Does nothing
end