class Resque::Failure::Squash

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/resque/failure/squash.rb, line 16
def self.configure
  configuration = {}
  yield configuration
  ::Squash::Ruby.configure configuration
end

Public Instance Methods

context() click to toggle source
# File lib/resque/failure/squash.rb, line 8
def context
  {
    :worker => worker,
    :queue => queue,
    :payload => payload
  }
end
save() click to toggle source
# File lib/resque/failure/squash.rb, line 4
def save
  ::Squash::Ruby.notify exception, context
end