You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							619 B
						
					
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							619 B
						
					
					
				class FeatureToggle | 
						|
  def self.allow_future_form_use? | 
						|
    Rails.env.development? || Rails.env.review? || Rails.env.staging? | 
						|
  end | 
						|
 | 
						|
  def self.bulk_upload_duplicate_log_check_enabled? | 
						|
    !Rails.env.staging? | 
						|
  end | 
						|
 | 
						|
  def self.upload_enabled? | 
						|
    !Rails.env.development? | 
						|
  end | 
						|
 | 
						|
  def self.service_unavailable? | 
						|
    false | 
						|
  end | 
						|
 | 
						|
  def self.service_moved? | 
						|
    false | 
						|
  end | 
						|
 | 
						|
  def self.local_storage? | 
						|
    Rails.env.development? | 
						|
  end | 
						|
 | 
						|
  def self.allow_future_resource_updates? | 
						|
    !Rails.env.production? && !Rails.env.test? | 
						|
  end | 
						|
 | 
						|
  def self.create_test_logs_enabled? | 
						|
    Rails.env.development? || Rails.env.review? | 
						|
  end | 
						|
end
 | 
						|
 |