Class: Resque::Failure::Failbot
- Inherits:
-
Base
- Object
- Base
- Resque::Failure::Failbot
- Defined in:
- lib/failbot/resque_failure_backend.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.count ⇒ Object
14 15 16 17 |
# File 'lib/failbot/resque_failure_backend.rb', line 14 def self.count # Fake it for now. Stat[:failed] end |
.url ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/failbot/resque_failure_backend.rb', line 6 def self.url if ENV['RAILS_ENV'] == 'staging' "http://haystack-staging.githubapp.com/types/exception" else "http://haystack.githubapp.com/types/exception" end end |