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
TODO: Rename to ‘requesting?` in future version.
- #run ⇒ Object
Constructor Details
#initialize(queue) ⇒ NoopWorker
Returns a new instance of NoopWorker.
6 7 8 |
# File 'lib/posthog/noop_worker.rb', line 6 def initialize(queue) @queue = queue end |
Instance Method Details
#is_requesting? ⇒ Boolean
TODO: Rename to ‘requesting?` in future version
15 16 17 |
# File 'lib/posthog/noop_worker.rb', line 15 def is_requesting? # rubocop:disable Naming/PredicateName false end |
#run ⇒ Object
10 11 12 |
# File 'lib/posthog/noop_worker.rb', line 10 def run # Does nothing end |