Class: Sidekiq::Hol::Client
- Inherits:
-
Client
- Object
- Client
- Sidekiq::Hol::Client
- Defined in:
- lib/sidekiq/hol/client.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#hol_push(item) ⇒ Object
Sidekiq::Hol does not support bulk pushes.
Class Method Details
.hol_push(item) ⇒ Object
17 18 19 |
# File 'lib/sidekiq/hol/client.rb', line 17 def hol_push(item) new.hol_push(item) end |
Instance Method Details
#hol_push(item) ⇒ Object
Sidekiq::Hol does not support bulk pushes
6 7 8 9 10 11 12 13 14 |
# File 'lib/sidekiq/hol/client.rb', line 6 def hol_push(item) normed = normalize_item(item) payload = process_single(item['class'], normed) if payload raw_hol_push([payload]) payload['jid'] end end |