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.
4 5 6 |
# File 'lib/posthog/noop_worker.rb', line 4 def initialize(queue) @queue = queue end |
Instance Method Details
#is_requesting? ⇒ Boolean
TODO: Rename to requesting? in future version
13 14 15 |
# File 'lib/posthog/noop_worker.rb', line 13 def is_requesting? # rubocop:disable Naming/PredicateName false end |
#run ⇒ Object
8 9 10 |
# File 'lib/posthog/noop_worker.rb', line 8 def run # Does nothing end |