Module: Barbeque::Maintenance
- Defined in:
- lib/barbeque/maintenance.rb
Class Method Summary collapse
Class Method Details
.database_maintenance_mode? ⇒ Boolean
3 4 5 |
# File 'lib/barbeque/maintenance.rb', line 3 def self.database_maintenance_mode? ENV['BARBEQUE_DATABASE_MAINTENANCE'] == '1' && ENV['AWS_REGION'].present? && ENV['AWS_ACCOUNT_ID'].present? end |