Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed installed? to look for NN_SERVER_DOMAIN

  • Loading branch information...
commit 6c7af8d66c47a897957aeadf3a89bb8a72fb454d 1 parent 7175d23
Jordan Glasner authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/nimble_nodes.rb
View
8 lib/nimble_nodes.rb
@@ -20,6 +20,14 @@ def self.monitor(env)
report.post if report.post?
end
+ def self.installed?
+ not ENV['NN_SERVER_DOMAIN'].nil?
+ end
+
+ def self.paused?
+ not ENV['NN_APP_PAUSED_AT'].nil?
+ end
+
end
NimbleNodes.files.each { |file| require File.dirname(__FILE__) + "/nimble_nodes/#{file}" }
Please sign in to comment.
Something went wrong with that request. Please try again.