lib/resque/failure/rollbar.rb in resque-rollbar-0.3.0 vs lib/resque/failure/rollbar.rb in resque-rollbar-0.4.0
- old
+ new
@@ -7,22 +7,10 @@
def save
::Rollbar.error(exception, rollbar_payload)
end
def rollbar_payload
- if use_exception_level_filters?
- payload.merge(:use_exception_level_filters => true)
- else
- payload
- end
- end
-
- def use_exception_level_filters?
- rollbar_version.split('.')[1].to_i > 3
- end
-
- def rollbar_version
- ::Rollbar::VERSION
+ payload.merge(:use_exception_level_filters => true)
end
end
end
end