Class: Resque::Failure::Campfire
- Inherits:
-
Base
- Object
- Base
- Resque::Failure::Campfire
- Defined in:
- lib/resque/failure/Campfire.rb
Instance Method Summary collapse
Instance Method Details
#save ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/resque/failure/Campfire.rb', line 4 def save campfire = Tinder::Campfire.new( Rails.configuration.smokesignal.domain, :token => Rails.configuration.smokesignal.token, :ssl => true, :verify => true) room = campfire.find_or_create_room_by_name(Rails.configuration.smokesignal.room) # todo work on body for paste room.paste "smokesignal[#{Rails.env}] - queue: #{queue}\n" + exception. + "\n" + exception.backtrace.join("\n") end |