Module: SnowmanIO

Defined in:
lib/snowman-io.rb,
lib/snowman-io/api.rb,
lib/snowman-io/cli.rb,
lib/snowman-io/web.rb,
lib/snowman-io/utils.rb,
lib/snowman-io/options.rb,
lib/snowman-io/version.rb,
lib/snowman-io/api/apps.rb,
lib/snowman-io/api/info.rb,
lib/snowman-io/launcher.rb,
lib/snowman-io/aggregate.rb,
lib/snowman-io/api/agent.rb,
lib/snowman-io/api/users.rb,
lib/snowman-io/loop/main.rb,
lib/snowman-io/migration.rb,
lib/snowman-io/api/checks.rb,
lib/snowman-io/api/fridge.rb,
lib/snowman-io/models/app.rb,
lib/snowman-io/spider/mps.rb,
lib/snowman-io/web_server.rb,
lib/snowman-io/api/invites.rb,
lib/snowman-io/api/metrics.rb,
lib/snowman-io/api/profile.rb,
lib/snowman-io/loop/checks.rb,
lib/snowman-io/models/user.rb,
lib/snowman-io/snow_mailer.rb,
lib/snowman-io/loop/spiders.rb,
lib/snowman-io/models/check.rb,
lib/snowman-io/models/metric.rb,
lib/snowman-io/api/friendship.rb,
lib/snowman-io/models/deleted.rb,
lib/snowman-io/models/setting.rb,
lib/snowman-io/api/auth_helpers.rb,
lib/snowman-io/api/extra/meteor.rb,
lib/snowman-io/models/following.rb,
lib/snowman-io/models/data_point.rb,
lib/snowman-io/models/aggregation.rb,
lib/snowman-io/loop/checks_perform.rb,
lib/snowman-io/loop/check_processor.rb,
lib/snowman-io/spider/internal_mongo.rb,
lib/snowman-io/models/concerns/tokenable.rb

Defined Under Namespace

Modules: API, Aggregate, Concerns, Loop, Spider, Utils Classes: Aggregation, App, CLI, Check, DataPoint, Deleted, Following, Launcher, Metric, Migration, Options, Setting, SnowMailer, User, Web, WebServer

Constant Summary collapse

BASE_URL_KEY =
"base_url"
FORCE_SSL_KEY =
"force_ssl"
VERSION =
"0.5.1"

Class Method Summary collapse

Class Method Details

.loggerObject



71
72
73
# File 'lib/snowman-io.rb', line 71

def self.logger
  @logger ||= Logger.new(STDERR)
end

.unpacked?Boolean

Returns:

  • (Boolean)


75
76
77
# File 'lib/snowman-io.rb', line 75

def self.unpacked?
  User.count > 0
end