Sha256: d328d85f2b8919b454074129d2432521d70a4d3e4b2a5f19f2d31ab2f2da37c2
Contents?: true
Size: 429 Bytes
Versions: 2
Compression:
Stored size: 429 Bytes
Contents
module Telephony module Jobs class PusherEvent attr_reader :event def initialize(event) @event = event end def perform Telephony::PusherEventPublisher.push(@event) end def failure Rails.logger.error "#{self.class}: #{self.as_json}" ActiveSupport::Notifications .instrument("telephony.agent_offline_failure", self) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
telephony-1.0.4 | lib/telephony/jobs/pusher_event.rb |
telephony-1.0.3 | lib/telephony/jobs/pusher_event.rb |