Class: Kubelink::Sentrylink
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Kubelink::Sentrylink
- Defined in:
- lib/kubelink/sentry.rb
Defined Under Namespace
Modules: Controller, Helpers
Class Method Summary collapse
Class Method Details
.sentry_dsn ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/kubelink/sentry.rb', line 5 def self.sentry_dsn @dsn ||= begin u = URI.parse(ENV['SENTRY_DSN']) u.password = nil u.to_s rescue StandardError nil end end |