Class: Exceptional::Startup

Inherits:
Object
  • Object
show all
Defined in:
lib/exceptional/startup.rb

Class Method Summary collapse

Class Method Details

.announceObject



6
7
8
9
10
11
# File 'lib/exceptional/startup.rb', line 6

def announce
  if Config.api_key.blank?
    raise StartupException, 'API Key must be configured (/config/exceptional.yml)'
  end
  Remote.startup_announce(::Exceptional::ApplicationEnvironment.to_hash('rails'))
end