fix for statechecker

This commit is contained in:
r888888888
2017-01-24 13:32:08 -08:00
parent e12d5e1290
commit 2aa7a8aa9c
6 changed files with 14 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
module StateChecker
module_function
class StateChecker
include Singleton
def check!
ENV["SECRET_TOKEN"].present? || check_secret_token