Sha256: 47eea2ced3c62572b51b170b0a806ae3805ff46482fef4254b55327767145fc6

Contents?: true

Size: 181 Bytes

Versions: 15

Compression:

Stored size: 181 Bytes

Contents

class UserReserveStatQueue
  @queue = :user_reserve_stat

  def self.perform(user_reserve_stat_id)
    UserReserveStat.find(user_reserve_stat_id).transition_to!(:started)
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enju_circulation-0.1.0 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre49 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre48 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre47 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre46 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre45 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre44 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre43 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre42 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre41 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre40 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre39 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre38 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre37 app/workers/user_reserve_stat_queue.rb
enju_circulation-0.1.0.pre36 app/workers/user_reserve_stat_queue.rb