Sha256: ff159247aad3e8dc3a658bacb87b50ebeea80cc8d05fe188d2baf6971b014c6a
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
module AppMonit class Config class << self attr_writer :api_key, :env, :end_point, :fail_silent def api_key @api_key || raise(ApiKeyNotSetError.new("Please set your API key")) end def env @env || "development" end def end_point @end_point || "http://api.appmon.it" end def fail_silent @fail_silent || false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
app_monit-0.0.2 | lib/app_monit/config.rb |