Sha256: f2541ed7a6cb6e9adf00de6a4382e362855a2427017d7b746ae433eb7d8beedb

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

class DeviantWorker
  include Sidekiq::Worker
  sidekiq_options queue: 'deviant'

  def perform(data)
    Tire.index Deviant.options[:name] do
      store(data)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deviant-0.0.2 lib/deviant/worker.rb