Class: PostHog::NoopWorker
- Inherits:
-
Object
- Object
- PostHog::NoopWorker
- Defined in:
- lib/posthog/noop_worker.rb
Instance Method Summary collapse
-
#initialize(queue) ⇒ NoopWorker
constructor
A new instance of NoopWorker.
- #is_requesting? ⇒ Boolean
- #run ⇒ Object
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
12 13 14 |
# File 'lib/posthog/noop_worker.rb', line 12 def is_requesting? false end |
#run ⇒ Object
8 9 10 |
# File 'lib/posthog/noop_worker.rb', line 8 def run # Does nothing end |