class IntercomRails::Config
Constants
- ARRAY_VALIDATOR
- CUSTOM_DATA_VALIDATOR
- IS_ARAY_OF_PROC_VALIDATOR
- IS_PROC_OR_ARRAY_OF_PROC_VALIDATOR
- IS_PROC_VALIDATOR
Public Class Methods
api_key=(*)
click to toggle source
# File lib/intercom-rails/config.rb, line 114 def self.api_key=(*) warn "Setting an Intercom API key is no longer supported; remove the `config.api_key = ...` line from config/initializers/intercom.rb" end
company_association=(*)
click to toggle source
# File lib/intercom-rails/config.rb, line 125 def self.company_association=(*) warn "Setting a company association is no longer supported; remove the `config.user.company_association = ...` line from config/initializers/intercom.rb" end
reset!()
click to toggle source
# File lib/intercom-rails/config.rb, line 93 def self.reset! to_reset = self.constants.map {|c| const_get c} to_reset << self to_reset.each do |configer| configer.instance_variables.each do |var| configer.send(:remove_instance_variable, var) end end end