lib/softwear/auth/model.rb in softwear-lib-1.7.3 vs lib/softwear/auth/model.rb in softwear-lib-1.7.4
- old
+ new
@@ -3,12 +3,14 @@
module Softwear
module Auth
if Rails.env.development? && ENV['AUTH_SERVER'].blank?
class Model < StubbedModel
+ STUBBED = true
end
else
class Model < StandardModel
+ STUBBED = false
end
end
end
end