module Eventboss::Listener

Constants

ACTIVE_LISTENERS

Attributes

postponed_by[R]

Public Class Methods

included(base) click to toggle source
# File lib/eventboss/listener.rb, line 5
def self.included(base)
  base.extend ClassMethods
end

Public Instance Methods

jid() click to toggle source
# File lib/eventboss/listener.rb, line 9
def jid
  @jid ||= SecureRandom.uuid
end
postpone_by(time_in_secs) click to toggle source
# File lib/eventboss/listener.rb, line 15
def postpone_by(time_in_secs)
  @postponed_by = time_in_secs.to_i
end